|
@ -1146,9 +1146,10 @@ public class PatientNoLoginEndPoint extends EnvelopRestEndpoint {
|
|
|
List<BaseNatAppointmentDO> baseNatAppointmentDOS = baseNatAppointmentDao.findByRealOrderList(waitPayDetailVO.getRecipeNo());
|
|
|
for (BaseNatAppointmentDO natAppointmentDO:baseNatAppointmentDOS){
|
|
|
|
|
|
if (channelId.contains("WX")){
|
|
|
//发送支付成功通知
|
|
|
if (channelId.contains("WX")&&natAppointmentDO.getPayStatus().equalsIgnoreCase("0")){
|
|
|
//发送支付成功通知
|
|
|
String pushPayLog = null;
|
|
|
logger.info("支付完成开始推送模板消息==="+natAppointmentDO.getName());
|
|
|
String fee = waitPayDetailVO.getFee();
|
|
|
if (wxId.equalsIgnoreCase("xm_zsyy_wx")){
|
|
|
String title="您在厦门大学附属中山医院有一笔交易已支付完成!";
|
|
@ -1176,6 +1177,14 @@ public class PatientNoLoginEndPoint extends EnvelopRestEndpoint {
|
|
|
remark);
|
|
|
logger.info("中山发送模板消息返回结果="+responseMsg);
|
|
|
System.out.println("结束发送模板消息");
|
|
|
WlyyHttpLogDO wlyyHttpLogDO = new WlyyHttpLogDO();
|
|
|
wlyyHttpLogDO.setRequest(url);
|
|
|
wlyyHttpLogDO.setName("核酸检测模板消息推送");
|
|
|
wlyyHttpLogDO.setCode(natAppointmentDO.getId().toString());
|
|
|
wlyyHttpLogDO.setCreateTime(new Date());
|
|
|
wlyyHttpLogDO.setRequest(url);
|
|
|
wlyyHttpLogDO.setResponse(responseMsg);
|
|
|
wlyyHttpLogDao.save(wlyyHttpLogDO);
|
|
|
}
|
|
|
}else if (channelId.contains("ALI")){
|
|
|
if (natAppointmentDO.getPayStatus().equalsIgnoreCase("0")){
|