|
@ -2006,30 +2006,31 @@ public class FamilyContractService extends BaseService {
|
|
|
|
|
|
JSONObject data = new JSONObject();
|
|
JSONObject data = new JSONObject();
|
|
data.put("toUser", patient);
|
|
data.put("toUser", patient);
|
|
|
|
data.put("represented",patient);//被代理人
|
|
data.put("doctor", docHealth.getCode());
|
|
data.put("doctor", docHealth.getCode());
|
|
data.put("doctorName", docHealth.getName());
|
|
data.put("doctorName", docHealth.getName());
|
|
data.put("first", p.getName() + ",您好!因签约团队内分工调整,您的健康管理师有变动," + oldDoctorHealthName +
|
|
|
|
"医生无法继续为您服务,具体变动如下:");
|
|
|
|
data.put("keyword3", "家庭医生");
|
|
|
|
|
|
data.put("first", p.getName() + ",您好!您签约团队的健康管理师已变更,您的新健管师信息如下:");
|
|
|
|
data.put("keyword3", "家庭医生-健康管理师");
|
|
data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
|
|
data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
|
|
data.put("keyword1", docHealth.getName());
|
|
data.put("keyword1", docHealth.getName());
|
|
if (StringUtils.isEmpty(signFamily.getDoctor()) || docHealth.getCode().equals(signFamily.getDoctor())) {
|
|
if (StringUtils.isEmpty(signFamily.getDoctor()) || docHealth.getCode().equals(signFamily.getDoctor())) {
|
|
data.put("remark", docHealth.getName() + "医生将专门为您提供优质健康服务");
|
|
|
|
|
|
data.put("remark", docHealth.getName() + "医生将继续为您提供优质健康服务");
|
|
} else {
|
|
} else {
|
|
data.put("remark", docHealth.getName() + "医生与" + signFamily.getDoctorName() + "医生一道,为您提供优质健康服务");
|
|
|
|
|
|
data.put("remark", docHealth.getName() + "医生将继续为您提供优质健康服务");
|
|
}
|
|
}
|
|
wxMessages.add(data);
|
|
wxMessages.add(data);
|
|
} else {
|
|
} else {
|
|
JSONObject data = new JSONObject();
|
|
JSONObject data = new JSONObject();
|
|
data.put("toUser", patient);
|
|
data.put("toUser", patient);
|
|
|
|
data.put("represented",patient);//被代理人
|
|
data.put("doctor", docHealth.getCode());
|
|
data.put("doctor", docHealth.getCode());
|
|
data.put("doctorName", docHealth.getName());
|
|
data.put("doctorName", docHealth.getName());
|
|
data.put("first", p.getName() + ",您好!您的签约团队已为您新增一位健康管理师,医生信息如下:");
|
|
data.put("first", p.getName() + ",您好!您的签约团队已为您新增一位健康管理师,医生信息如下:");
|
|
data.put("keyword3", "家庭医生");
|
|
|
|
|
|
data.put("keyword3", "家庭医生-健康管理师");
|
|
data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
|
|
data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
|
|
data.put("keyword1", docHealth.getName());
|
|
data.put("keyword1", docHealth.getName());
|
|
if (StringUtils.isEmpty(signFamily.getDoctor()) || docHealth.getCode().equals(signFamily.getDoctor())) {
|
|
if (StringUtils.isEmpty(signFamily.getDoctor()) || docHealth.getCode().equals(signFamily.getDoctor())) {
|
|
data.put("remark", docHealth.getName() + "医生将专门为您提供优质的健康服务");
|
|
|
|
|
|
data.put("remark", docHealth.getName() + "医生将继续为您提供优质健康服务");
|
|
} else {
|
|
} else {
|
|
data.put("remark", docHealth.getName() + "医生与" + signFamily.getDoctorName() + "医生一道,为您提供优质健康服务");
|
|
data.put("remark", docHealth.getName() + "医生与" + signFamily.getDoctorName() + "医生一道,为您提供优质健康服务");
|
|
}
|
|
}
|
|
@ -2118,15 +2119,14 @@ public class FamilyContractService extends BaseService {
|
|
data.put("represented",patient);//被代理人
|
|
data.put("represented",patient);//被代理人
|
|
data.put("doctor", docQk.getCode());
|
|
data.put("doctor", docQk.getCode());
|
|
data.put("doctorName", docQk.getName());
|
|
data.put("doctorName", docQk.getName());
|
|
data.put("first", p.getName() + ",您好!因签约团队内分工调整,您的责任医生有变动," + oldDoctorName +
|
|
|
|
"医生无法继续为您服务,具体变动如下:");
|
|
|
|
data.put("keyword3", "家庭医生");
|
|
|
|
|
|
data.put("first", p.getName() + ",您好!您签约团队的全科医生已变更,您的新全科医生信息如下:");
|
|
|
|
data.put("keyword3", "家庭医生-全科医生");
|
|
data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
|
|
data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
|
|
data.put("keyword1", docQk.getName());
|
|
data.put("keyword1", docQk.getName());
|
|
if (StringUtils.isEmpty(signFamily.getDoctorHealth()) || signFamily.getDoctor().equals(signFamily.getDoctorHealth())) {
|
|
if (StringUtils.isEmpty(signFamily.getDoctorHealth()) || signFamily.getDoctor().equals(signFamily.getDoctorHealth())) {
|
|
data.put("remark", docQk.getName() + "医生将专门为您提供优质健康服务");
|
|
data.put("remark", docQk.getName() + "医生将专门为您提供优质健康服务");
|
|
} else {
|
|
} else {
|
|
data.put("remark", docQk.getName() + "医生与" + signFamily.getDoctorHealthName() + "医生一道,为您提供优质健康服务");
|
|
|
|
|
|
data.put("remark", docQk.getName() + "医生将继续为您提供优质健康服务");
|
|
}
|
|
}
|
|
wxMessages.add(data);
|
|
wxMessages.add(data);
|
|
}
|
|
}
|