|
@ -10856,7 +10856,6 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
WxTemplateConfigDO config = wxTemplateConfigDao.findByWechatIdAndTemplateNameAndSceneAndStatus(wechatId, "template_hsyycg_notice", scene, 1);
|
|
WxTemplateConfigDO config = wxTemplateConfigDao.findByWechatIdAndTemplateNameAndSceneAndStatus(wechatId, "template_hsyycg_notice", scene, 1);
|
|
BeanUtils.copyProperties(config, newConfig);
|
|
BeanUtils.copyProperties(config, newConfig);
|
|
newConfig.setFirst(config.getFirst().replace("key1",userName));
|
|
newConfig.setFirst(config.getFirst().replace("key1",userName));
|
|
newConfig.setKeyword1("核酸检测预约单支付");
|
|
|
|
if ("3".equalsIgnoreCase(baseNatAppointmentDO.getHospitalFlag())){
|
|
if ("3".equalsIgnoreCase(baseNatAppointmentDO.getHospitalFlag())){
|
|
newConfig.setKeyword2("厦门大学附属厦门眼科中心思北院区");
|
|
newConfig.setKeyword2("厦门大学附属厦门眼科中心思北院区");
|
|
}else {
|
|
}else {
|
|
@ -10886,7 +10885,6 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
WxTemplateConfigDO configPayNotice = wxTemplateConfigDao.findByWechatIdAndTemplateNameAndSceneAndStatus(wechatId, "template_hszf_notice", scenePayNotice, 1);
|
|
WxTemplateConfigDO configPayNotice = wxTemplateConfigDao.findByWechatIdAndTemplateNameAndSceneAndStatus(wechatId, "template_hszf_notice", scenePayNotice, 1);
|
|
BeanUtils.copyProperties(configPayNotice, newPayNotice);
|
|
BeanUtils.copyProperties(configPayNotice, newPayNotice);
|
|
newPayNotice.setFirst(configPayNotice.getFirst().replace("key1",userName));
|
|
newPayNotice.setFirst(configPayNotice.getFirst().replace("key1",userName));
|
|
newPayNotice.setKeyword1("核酸检测预约单支付");
|
|
|
|
if ("3".equalsIgnoreCase(baseNatAppointmentDO.getHospitalFlag())){
|
|
if ("3".equalsIgnoreCase(baseNatAppointmentDO.getHospitalFlag())){
|
|
newPayNotice.setKeyword2("厦门大学附属厦门眼科中心思北院区");
|
|
newPayNotice.setKeyword2("厦门大学附属厦门眼科中心思北院区");
|
|
}else {
|
|
}else {
|