Browse Source

生育门诊不用选择病种

lighter 3 months ago
parent
commit
e4fa5b4633

+ 2 - 2
src/main/java/thyyxxk/simzfeeoprnsystm/service/SiMzFeeService.java

@@ -285,9 +285,9 @@ public class SiMzFeeService {
                 return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "患者的门诊诊断为空,请联系医生填写。");
             }
         }
-        if (siPatInfo.getMedType().equals("14") || siPatInfo.getMedType().equals("51")) {
+        if (Objects.equals(siPatInfo.getMedType(), "140104") || Objects.equals(siPatInfo.getMedType(), "1402")) {
             if (StringUtil.isBlank(spcChrDiseAcct.getOpspDiseCode())) {
-                return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "生育门诊与慢特病门诊病种不能为空 !");
+                return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "慢特病门诊病种不能为空 !");
             }
         }
         mdtrtinfo.put("mdtrt_id", siPatInfo.getMdtrtId());