|
@ -5113,37 +5113,107 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
logger.info("doctorRefund:outpatientId="+outpatientId);
|
|
logger.info("doctorRefund:outpatientId="+outpatientId);
|
|
msgUrl="/ims-wx/index.html#/returnVisit/record?outpatientId="+outpatientId;
|
|
msgUrl="/ims-wx/index.html#/returnVisit/record?outpatientId="+outpatientId;
|
|
} else if("patientCancel".equalsIgnoreCase(titelType)) {
|
|
} else if("patientCancel".equalsIgnoreCase(titelType)) {
|
|
if ("9".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文复诊已被您取消。由于订单取消将不做扣费处理。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文复诊已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("16".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频复诊已被您取消。由于订单取消将不做扣费处理。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频复诊已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("1".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文咨询已被您取消。由于订单取消将不做扣费处理。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文咨询已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("17".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频咨询已被您取消。由于订单取消将不做扣费处理。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频咨询已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("12".equals(type)) {
|
|
|
|
return;
|
|
|
|
|
|
WlyyHospitalSysDictDO hospitalSysDictDO = hospitalSysDictDao.findById("isCloseRefund");
|
|
|
|
if (hospitalSysDictDO!=null){
|
|
|
|
if (hospitalSysDictDO.getDictValue().equalsIgnoreCase("1")){
|
|
|
|
if ("9".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文复诊已被您取消。已支付的18元将原路退回,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文复诊已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("16".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频复诊已被您取消。已支付的18元将原路退回,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频复诊已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("1".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文咨询已被您取消。已支付的18元将原路退回,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文咨询已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("17".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频咨询已被您取消。已支付的18元将原路退回,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频咨询已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("12".equals(type)) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}else {
|
|
|
|
if ("9".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文复诊已被您取消。请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文复诊已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("16".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频复诊已被您取消。请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频复诊已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("1".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文咨询已被您取消。请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文咨询已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("17".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频咨询已被您取消。请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频咨询已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("12".equals(type)) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}else {
|
|
|
|
if ("9".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文复诊已被您取消。请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文复诊已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("16".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频复诊已被您取消。请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频复诊已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("1".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文咨询已被您取消。请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文咨询已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("17".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频咨询已被您取消。请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频咨询已被您取消,您可重新发起";
|
|
|
|
}
|
|
|
|
if ("12".equals(type)) {
|
|
|
|
return;
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
logger.info("patientCancel诊查费支付成功推送模板消息:outpatientId="+outpatientId);
|
|
logger.info("patientCancel诊查费支付成功推送模板消息:outpatientId="+outpatientId);
|
|
msgUrl="/ims-wx/index.html#/returnVisit/record?outpatientId="+outpatientId;
|
|
msgUrl="/ims-wx/index.html#/returnVisit/record?outpatientId="+outpatientId;
|
|
}else if("systemCancelRemind".equalsIgnoreCase(titelType)){
|
|
}else if("systemCancelRemind".equalsIgnoreCase(titelType)){
|
|
//超过24小时未接诊,系统取消
|
|
//超过24小时未接诊,系统取消
|
|
if ("9".equals(type)) {
|
|
|
|
contentMsg = "由于订单取消将不做扣费处理。如需退款(18元)请到门诊收费处退款。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文复诊因超过24小时未接诊已自动取消图文咨询。";
|
|
|
|
}
|
|
|
|
if ("16".equals(type)) {
|
|
|
|
contentMsg = "由于订单取消将不做扣费处理。如需退款(18元)请到门诊收费处退款。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频复诊因超过24小时未接诊已自动取消视频咨询。";
|
|
|
|
|
|
WlyyHospitalSysDictDO hospitalSysDictDO = hospitalSysDictDao.findById("isCloseRefund");
|
|
|
|
if (hospitalSysDictDO!=null){
|
|
|
|
if (hospitalSysDictDO.getDictValue().equalsIgnoreCase("1")){
|
|
|
|
if ("9".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文复诊已取消,已支付的18元将原路退回,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文复诊因超过24小时未接诊已自动取消图文咨询。";
|
|
|
|
}
|
|
|
|
if ("16".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频复诊已取消,已支付的18元将原路退回,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频复诊因超过24小时未接诊已自动取消视频咨询。";
|
|
|
|
}
|
|
|
|
}else {
|
|
|
|
if ("9".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文复诊已取消,请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文复诊因超过24小时未接诊已自动取消图文咨询。";
|
|
|
|
}
|
|
|
|
if ("16".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频复诊已取消,请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频复诊因超过24小时未接诊已自动取消视频咨询。";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}else {
|
|
|
|
if ("9".equals(type)) {
|
|
|
|
contentMsg = "您发起的图文复诊已取消,请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的图文复诊因超过24小时未接诊已自动取消图文咨询。";
|
|
|
|
}
|
|
|
|
if ("16".equals(type)) {
|
|
|
|
contentMsg = "您发起的视频复诊已取消,请前往收费窗口进行退款,如有问诊需求,可重新发起或到医院门急诊就诊。";
|
|
|
|
first = outpatientDO.getConsumerName() + ",您好!您的视频复诊因超过24小时未接诊已自动取消视频咨询。";
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
logger.info("系统取消接诊入参:outpatientId="+outpatientId);
|
|
logger.info("系统取消接诊入参:outpatientId="+outpatientId);
|
|
msgUrl="/ims-wx/index.html#/returnVisit/record?outpatientId="+outpatientId;
|
|
msgUrl="/ims-wx/index.html#/returnVisit/record?outpatientId="+outpatientId;
|
|
} else if ("payRemind".equalsIgnoreCase(titelType)) {
|
|
} else if ("payRemind".equalsIgnoreCase(titelType)) {
|
|
@ -15146,10 +15216,10 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
public String getDoctorAppointDate(String doctorId){
|
|
|
|
|
|
public String getDoctorInfoByIdcard(String doctorId){
|
|
BaseDoctorDO doctorDO = baseDoctorDao.findById(doctorId);
|
|
BaseDoctorDO doctorDO = baseDoctorDao.findById(doctorId);
|
|
if (doctorDO!= null){
|
|
if (doctorDO!= null){
|
|
String res = ykyyService.get_app_date(doctorDO.getYktCode(),"0");
|
|
|
|
|
|
String res = ykyyService.get_doctorinfo_by_idcard(doctorDO.getIdcard());
|
|
return res;
|
|
return res;
|
|
}
|
|
}
|
|
return null;
|
|
return null;
|