提交 c6efa040 authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 bd2e5c0e
...@@ -220,17 +220,10 @@ public class PatientServiceImpl implements PatientService { ...@@ -220,17 +220,10 @@ public class PatientServiceImpl implements PatientService {
notifyConsultDataDTO.setSupplierCode(CommonConstants.SUPPLIER_CODE_JTYS); notifyConsultDataDTO.setSupplierCode(CommonConstants.SUPPLIER_CODE_JTYS);
thirdOrderPushUtil.syncBenefitUsedOrder(notifyConsultDataDTO); thirdOrderPushUtil.syncBenefitUsedOrder(notifyConsultDataDTO);
} else { } else {
QueryWrapper<PatientSignEntity> psWrapper = new QueryWrapper<>(); if (Objects.nonNull(oldPatientSignEntity)) {
PatientSignEntity patientSign = new PatientSignEntity(); sendImMsgDTO.setOldAdmId(Long.valueOf(oldPatientSignEntity.getId()));
if (Objects.nonNull(reqVo.getAdmId())) {
patientSign.setAdmId(reqVo.getAdmId());
}
psWrapper.setEntity(patientSign);
PatientSignEntity pse = patientSignMapper.selectOne(psWrapper);
if (null == pse) {
throw new BusinessException("未查询到签约信息,不能获取排班医生!");
} }
sendImMsgDTO.setOldAdmId(pse.getAdmId());
} }
//放入MQ任务,处理订单到时结束 //放入MQ任务,处理订单到时结束
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论