|
|
@@ -1447,6 +1447,12 @@ public class SetlListUpldService {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("手术:【%s】,麻醉医生不为空,麻醉开始时间,麻醉结束时间不能为空", item.getSsmc()));
|
|
|
}
|
|
|
}
|
|
|
+ //局部麻醉可以为空,其他需要麻醉时间
|
|
|
+ if (StringUtil.notBlank(item.getMzff()) && !item.getMzff().equals("29") && !item.getMzff().equals("23")) {
|
|
|
+ if (item.getAnstStartDate() == null || item.getAnstEndDate() ==null || StringUtil.isBlank(item.getMzys())) {
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("手术:【%s】,麻醉方式不为空,麻醉开始时间,麻醉结束时间,麻醉医生不能为空", item.getSsmc()));
|
|
|
+ }
|
|
|
+ }
|
|
|
List<String> a = VerifyCaseFrontSheet.logicalSurgeryTime(item.getOpStartDate(), item.getOpEndDate(), item.getAnstStartDate(), item.getAnstEndDate());
|
|
|
if (ListUtil.notBlank(a)) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("手术:【%s】,%s", item.getSsmc(), a));
|