|
@ -4523,7 +4523,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
//发起微信消息模板推送
|
|
|
newConfig.setUrl(newConfig.getUrl() + "" + consultTeam.getConsult());
|
|
|
logger.info("极光消息推送 医生拒诊开始");
|
|
|
wxTempalteJPush("give_score",outpatientDO,consultTeam,"","","","");
|
|
|
wxTempalteJPush("give_score",null,consultTeam,"","","","");
|
|
|
logger.info("眼科微信消息模板推送 服务评价提醒开始");
|
|
|
} else if ("systemCancelRemind".equalsIgnoreCase(titelType)) {
|
|
|
//系统24小时取消复诊提醒
|
|
@ -11612,7 +11612,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
}
|
|
|
title=baseJpushTemplateDO.getPushHeader();
|
|
|
}
|
|
|
userId = wlyyOutpatientDO.getConsumer();
|
|
|
userId = consultTeamDo.getPatient();
|
|
|
jsonObject.put("type",10);
|
|
|
jsonObject.put("id",consultTeamDo.getConsult());
|
|
|
}else if("video_invite".equalsIgnoreCase(templateCode)){
|
|
@ -11635,7 +11635,6 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
userId = wlyyOutpatientDO.getConsumer();
|
|
|
jsonObject.put("type",31);
|
|
|
jsonObject.put("id",wlyyOutpatientDO.getId());
|
|
|
isDoctor="1";
|
|
|
} else if("prescription_pay".equalsIgnoreCase(templateCode)){
|
|
|
BaseJpushTemplateDO baseJpushTemplateDO = baseJpushTemplateDao.findByCode(templateCode);
|
|
|
if(baseJpushTemplateDO!=null){
|
|
@ -11752,7 +11751,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
content.replace("{{医生姓名}}",wlyyOutpatientDO.getDoctorName()).replace("{患者姓名}}",wlyyOutpatientDO.getPatientName());
|
|
|
title=baseJpushTemplateDO.getPushHeader().replace("{{患者姓名}}",wlyyOutpatientDO.getDoctorName());
|
|
|
}
|
|
|
userId = wlyyOutpatientDO.getConsumer();
|
|
|
userId = wlyyOutpatientDO.getDoctor();
|
|
|
jsonObject.put("type",8);
|
|
|
jsonObject.put("id",prescriptionId);
|
|
|
isDoctor="1";
|