|
@ -1135,14 +1135,16 @@ public class DeviceService extends BaseService{
|
|
// 查询病人家庭签约的健康管理师
|
|
// 查询病人家庭签约的健康管理师
|
|
SignFamily signFamily = signFamilyDao.findByjiatingPatientYes(patientCode);
|
|
SignFamily signFamily = signFamilyDao.findByjiatingPatientYes(patientCode);
|
|
String healthDoctorFamily = "";
|
|
String healthDoctorFamily = "";
|
|
|
|
String doctorFamily = "";
|
|
if (signFamily != null) {
|
|
if (signFamily != null) {
|
|
healthDoctorFamily = signFamily.getDoctorHealth();
|
|
healthDoctorFamily = signFamily.getDoctorHealth();
|
|
|
|
doctorFamily = signFamily.getDoctor();
|
|
if (StringUtils.isNotEmpty(healthDoctorFamily)) {
|
|
if (StringUtils.isNotEmpty(healthDoctorFamily)) {
|
|
// 添加到消息接收人列表
|
|
// 添加到消息接收人列表
|
|
receivers.add(healthDoctorFamily);
|
|
receivers.add(healthDoctorFamily);
|
|
} else {
|
|
|
|
|
|
} else if (StringUtils.isNotEmpty(doctorFamily)){
|
|
// 添加到消息接收人列表
|
|
// 添加到消息接收人列表
|
|
receivers.add(signFamily.getDoctor());
|
|
|
|
|
|
receivers.add(doctorFamily);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// 查询病人三师签约中的健康管理师
|
|
// 查询病人三师签约中的健康管理师
|
|
@ -1154,6 +1156,9 @@ public class DeviceService extends BaseService{
|
|
// 添加到消息接收人列表
|
|
// 添加到消息接收人列表
|
|
receivers.add(healthDoctorTeam);
|
|
receivers.add(healthDoctorTeam);
|
|
}
|
|
}
|
|
|
|
if (StringUtils.isNotEmpty(signFamilySS.getDoctor())){
|
|
|
|
receivers.add(signFamilySS.getDoctor());
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
List<Message> messages = new ArrayList<Message>();
|
|
List<Message> messages = new ArrayList<Message>();
|