|
@ -93,6 +93,9 @@ public class FamilyContractService extends BaseService {
|
|
|
@Autowired
|
|
|
private SocialSecurityInfoDao socialSecurityInfoDao;
|
|
|
|
|
|
@Autowired
|
|
|
private DoctorAdminTeamDao doctorAdminTeamDao;
|
|
|
|
|
|
public SignFamily findByPatientByType(String patient, int type) {
|
|
|
return signFamilyDao.findByPatientAndType(patient, type);
|
|
|
}
|
|
@ -365,6 +368,8 @@ public class FamilyContractService extends BaseService {
|
|
|
sf.setCzrq(new Date());
|
|
|
sf.setPatientApplyDate(new Date());
|
|
|
sf.setDoctor(doctor);
|
|
|
//设置全科医生的行政团队
|
|
|
sf.setAdminTeamCode(doctorAdminTeamDao.findIdByLeaderCode(doctor)+"");
|
|
|
sf.setMobile(mobile);
|
|
|
sf.setDoctorName(d.getName());
|
|
|
sf.setEmerMobile(emerMobile);
|
|
@ -647,6 +652,9 @@ public class FamilyContractService extends BaseService {
|
|
|
sf.setBegin(DateUtil.getNowDateShort());
|
|
|
sf.setCode(getCode());
|
|
|
sf.setCzrq(new Date());
|
|
|
|
|
|
//设置全科医生的行政团队
|
|
|
sf.setAdminTeamCode(doctorAdminTeamDao.findIdByLeaderCode(doctor)+"");
|
|
|
sf.setDoctor(doctor);
|
|
|
sf.setDoctorName(doctorName);
|
|
|
sf.setDoctorHealth(doctorHealth);
|