|
@ -5491,7 +5491,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
}else if ("prescriptionPayRemind".equalsIgnoreCase(titelType)) {
|
|
|
//开具处方后向患者发送支付提醒
|
|
|
first = outpatientDO.getConsumerName() + ",您好! 医生已为您开具处方,请及时支付。";
|
|
|
contentMsg = "医生已为您开具处方,请及时支付(有效期七天)。";
|
|
|
contentMsg = "医生已为您开具处方,请及时支付(有效期六天)。";
|
|
|
remark = "点击完成支付,如您已支付请忽略本条信息";
|
|
|
msgUrl="/ims-wx/index.html#/returnVisit/prescriptionDetail?outpatientId="+outpatientId+"&id="+remindMsg;
|
|
|
logger.info("处方支付微信消息模板推送开始");
|
|
@ -15223,11 +15223,21 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
return object;
|
|
|
}
|
|
|
}else {
|
|
|
if (outpatientDO.getIsDisease().equalsIgnoreCase("1")){
|
|
|
object.put("code","403");
|
|
|
object.put("message","特殊病种已经结算过,请联系医院处理!");
|
|
|
return object;
|
|
|
}
|
|
|
ylzMedicalRelationDO.setStatus(0);
|
|
|
ylzMedicailRelationDao.save(ylzMedicalRelationDO);
|
|
|
}
|
|
|
}else {
|
|
|
if (jsonObject.getString("flag").equalsIgnoreCase("50204")){
|
|
|
if (outpatientDO.getIsDisease().equalsIgnoreCase("1")){
|
|
|
object.put("code","403");
|
|
|
object.put("message","特殊病种已经结算过,请联系医院处理!");
|
|
|
return object;
|
|
|
}
|
|
|
ylzMedicalRelationDO.setStatus(0);
|
|
|
ylzMedicailRelationDao.save(ylzMedicalRelationDO);
|
|
|
}else {
|