Explorar o código

麻醉判断修改

lihong %!s(int64=2) %!d(string=hai) anos
pai
achega
ba4c8db0cb

+ 3 - 3
src/main/java/thyyxxk/webserver/service/medicalinsurance/SetlListUpldService.java

@@ -1442,9 +1442,9 @@ public class SetlListUpldService {
                 if (StringUtil.isBlank(item.getQkjb()) || StringUtil.isBlank(item.getYhqk())) {
                     return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("手术:【%s】,切口愈合等级不能为空", item.getSsmc()));
                 }
-                if (StringUtil.notBlank(item.getMzff())) {
-                    if (item.getAnstStartDate() == null || item.getAnstEndDate() ==null  || StringUtil.isBlank(item.getMzys())) {
-                        return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("手术:【%s】,麻醉方式不为空时,麻醉开始时间,麻醉结束时间,麻醉医师不能为空", item.getSsmc()));
+                if (StringUtil.notBlank(item.getMzys())) {
+                    if (item.getAnstStartDate() == null || item.getAnstEndDate() ==null ) {
+                        return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("手术:【%s】,麻醉医生不为空,麻醉开始时间,麻醉结束时间不能为空", item.getSsmc()));
                     }
                 }
                 List<String> a = VerifyCaseFrontSheet.logicalSurgeryTime(item.getOpStartDate(), item.getOpEndDate(), item.getAnstStartDate(), item.getAnstEndDate());