瀏覽代碼

拦截宁乡的门诊登记

lighter 2 年之前
父節點
當前提交
adf64006cb
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/java/thyyxxk/simzfeeoprnsystm/service/SiMzFeeService.java

+ 3 - 0
src/main/java/thyyxxk/simzfeeoprnsystm/service/SiMzFeeService.java

@@ -51,6 +51,9 @@ public class SiMzFeeService {
     }
 
     public ResultVo<String> outpatientRegistration(MzPatientInfo p) {
+        if (p.getInsuplcAdmdvs().equals("430182")) {
+            return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "宁乡参保地区的患者无法在我院办理医保业务。");
+        }
         Regstrtn regstrtn = mzDao.selectRegstrtn(p.getPatNo(), p.getTimes());
         if (null == regstrtn) {
             return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "mz_visit_table患者信息为空,请联系医生重开处方。");