| 
					
				 | 
			
			
				@ -5363,6 +5363,9 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if(dictDO==null||"0".equals(dictDO.getDictValue())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    //不发送 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    int i= dsyyPrescriptionService.SendSms(phone,content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    logger.info("phone="+phone+";content="+content+","+i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if(StringUtils.isNotBlank(phone)&&StringUtils.isNotBlank(content)){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -5572,9 +5575,29 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if (wxId.equalsIgnoreCase("xm_dsyy_wx")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    String content = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    String phone = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if ("9".equals(type)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content = "患者"+outpatientDO.getConsumerName()+"取消了图文复诊,您无需再进行相关处理。"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if ("16".equals(type)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content = "患者"+outpatientDO.getConsumerName()+"取消了视频复诊,您无需再进行相关处理。"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if ("1".equals(type)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content = "患者"+outpatientDO.getConsumerName()+"取消了图文咨询,您无需再进行相关处理。"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if ("17".equals(type)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content = "患者"+outpatientDO.getConsumerName()+"取消了视频咨询,您无需再进行相关处理。"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if ("12".equals(type)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sendSms(doctorDO.getMobile(),content,"2"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                logger.info("patientCancel诊查费支付成功推送模板消息:outpatientId="+outpatientId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                msgUrl="/ims-wx/index.html#/returnVisit/record?outpatientId="+outpatientId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }else if("systemCancelRemind".equalsIgnoreCase(titelType)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                //超过24小时未接诊,系统取消 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                WlyyHospitalSysDictDO hospitalSysDictDO = hospitalSysDictDao.findById("isCloseRefund").orElse(null); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -9147,7 +9170,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    ykyyService.pushNotificationToYktPatient(patient.getYktId(), systemMessageDO.getTitle(), data.get("msg").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if("xm_dsyy_wx".equalsIgnoreCase(wechatId)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sendSms(patient.getMobile(),"医生您好,患者"+outpatient.getPatientName()+"向您发起了"+title+",请及时查看","2"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sendSms(patient.getMobile(),"医生您好,患者"+outpatient.getPatientName()+"向您发起了"+title+",请及时前往互联网医院查看并答复。","2"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } else if ("1".equals(outpatient.getOutpatientType()))  {        //在线复诊 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                //1.图文 2.视频 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -9175,7 +9198,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    }else  if("xm_dsyy_wx".equalsIgnoreCase(wechatId)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        sendSms(patient.getMobile(),"医生您好,患者"+outpatient.getPatientName()+"向您发起了图文问诊,请及时查看","2"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        sendSms(patient.getMobile(),"医生您好,患者"+outpatient.getPatientName()+"向您发起了图文问诊,请及时前往互联网医院查看并答复。","2"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    systemMessageDO.setTitle("视频复诊预约成功"); 
			 |