|
@ -29,6 +29,7 @@ import com.yihu.wlyy.repository.patient.SignFamilyDao;
|
|
import com.yihu.wlyy.repository.prescription.PrescriptionDao;
|
|
import com.yihu.wlyy.repository.prescription.PrescriptionDao;
|
|
import com.yihu.wlyy.service.BaseService;
|
|
import com.yihu.wlyy.service.BaseService;
|
|
import com.yihu.wlyy.service.app.scheduling.DoctorWorkTimeService;
|
|
import com.yihu.wlyy.service.app.scheduling.DoctorWorkTimeService;
|
|
|
|
import com.yihu.wlyy.service.app.sign.FamilyContractService;
|
|
import com.yihu.wlyy.service.app.talk.TalkGroupService;
|
|
import com.yihu.wlyy.service.app.talk.TalkGroupService;
|
|
import com.yihu.wlyy.service.common.SMSService;
|
|
import com.yihu.wlyy.service.common.SMSService;
|
|
import com.yihu.wlyy.service.third.httplog.LogService;
|
|
import com.yihu.wlyy.service.third.httplog.LogService;
|
|
@ -131,6 +132,9 @@ public class DoctorInfoService extends BaseService {
|
|
@Autowired
|
|
@Autowired
|
|
private LogService logService;
|
|
private LogService logService;
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
private FamilyContractService familyContractService;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 获取医生的签约病人
|
|
* 获取医生的签约病人
|
|
*
|
|
*
|
|
@ -851,6 +855,9 @@ public class DoctorInfoService extends BaseService {
|
|
Doctor newD = doctorDao.findByCode(newDoctorCode);
|
|
Doctor newD = doctorDao.findByCode(newDoctorCode);
|
|
String oldDoctorHealthName = signFamily.getDoctorHealthName();
|
|
String oldDoctorHealthName = signFamily.getDoctorHealthName();
|
|
|
|
|
|
|
|
//1.4.2更新重点关注列表,取消关注
|
|
|
|
familyContractService.updateTrackPatient(patient,signFamily.getDoctorHealth());
|
|
|
|
|
|
//修改签约中的健康管理师
|
|
//修改签约中的健康管理师
|
|
signFamily.setDoctorHealth(newD.getCode());
|
|
signFamily.setDoctorHealth(newD.getCode());
|
|
signFamily.setDoctorHealthName(newD.getName());
|
|
signFamily.setDoctorHealthName(newD.getName());
|
|
@ -1004,6 +1011,10 @@ public class DoctorInfoService extends BaseService {
|
|
}
|
|
}
|
|
|
|
|
|
Doctor newD = doctorDao.findByCode(newDoctorCode);
|
|
Doctor newD = doctorDao.findByCode(newDoctorCode);
|
|
|
|
|
|
|
|
//1.4.2更新重点关注列表,取消关注
|
|
|
|
familyContractService.updateTrackPatient(patient,signFamily.getDoctorHealth());
|
|
|
|
|
|
//修改签约中的健康管理师
|
|
//修改签约中的健康管理师
|
|
signFamily.setDoctorHealth(newD.getCode());
|
|
signFamily.setDoctorHealth(newD.getCode());
|
|
signFamily.setDoctorHealthName(newD.getName());
|
|
signFamily.setDoctorHealthName(newD.getName());
|
|
@ -1226,6 +1237,10 @@ public class DoctorInfoService extends BaseService {
|
|
|
|
|
|
Doctor newD = doctorDao.findByCode(newDoctorCode);
|
|
Doctor newD = doctorDao.findByCode(newDoctorCode);
|
|
String oldDoctorName = signFamily.getDoctorName();
|
|
String oldDoctorName = signFamily.getDoctorName();
|
|
|
|
|
|
|
|
//1.4.2更新重点关注列表,取消关注
|
|
|
|
familyContractService.updateTrackPatient(patient,signFamily.getDoctor());
|
|
|
|
|
|
//修改签约中的全科医生
|
|
//修改签约中的全科医生
|
|
signFamily.setDoctor(newD.getCode());
|
|
signFamily.setDoctor(newD.getCode());
|
|
signFamily.setDoctorName(newD.getName());
|
|
signFamily.setDoctorName(newD.getName());
|