|
@@ -20,6 +20,7 @@ import thyyxxk.webserver.service.externalhttp.SiZySrvc;
|
|
|
import thyyxxk.webserver.utils.*;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
+import java.math.BigInteger;
|
|
|
import java.util.*;
|
|
|
|
|
|
/**
|
|
@@ -147,6 +148,7 @@ public class DismissService {
|
|
|
}
|
|
|
List<String> unreceivedDrug = dao.hasUnreceivedDrugList(patNo, times);
|
|
|
if (ListUtil.notBlank(unreceivedDrug)) {
|
|
|
+
|
|
|
throw new BizException(ExceptionEnum.LOGICAL_HTML_ERROR, dischargeErrorMessage("此患者有未接收的药单", unreceivedDrug));
|
|
|
}
|
|
|
if (dao.hasUnreceivedFees(patNo, times, tmpendtime) > 0) {
|
|
@@ -154,7 +156,7 @@ public class DismissService {
|
|
|
exception.setMessage("此患者有未接收的费用。");
|
|
|
throw new BizException(exception);
|
|
|
}
|
|
|
- if (dao.hasUnSubmitDrugList(patNo, times) > 0) {
|
|
|
+ if (dao.hasUnSubmitDrugList(patNo, times) > 0) { // 有未提交药物清单
|
|
|
ExceptionEnum exception = ExceptionEnum.LOGICAL_ERROR;
|
|
|
exception.setMessage("此患者有未提交的药单。");
|
|
|
throw new BizException(exception);
|