|
|
@@ -192,19 +192,19 @@ public class DismissService {
|
|
|
throw new BizException(exception);
|
|
|
}
|
|
|
|
|
|
- if (!param.getMidSetl()) {
|
|
|
- int inhospdays = dao.selectInhospdays(param.getAdmissDate(), endtime);
|
|
|
- List<PureCodeName> charges = dao.selectChargeQuantities(patNo, times);
|
|
|
- for (PureCodeName item : charges) {
|
|
|
- if (item.getCode().equals("003")) {
|
|
|
- if (DecimalUtil.compare(item.getName(), String.valueOf(inhospdays)) != 0) {
|
|
|
- ExceptionEnum exception = ExceptionEnum.LOGICAL_ERROR;
|
|
|
- exception.setMessage("此患者床位费收取数量与住院天数不一致。");
|
|
|
- throw new BizException(exception);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+// if (!param.getMidSetl()) {
|
|
|
+// int inhospdays = dao.selectInhospdays(param.getAdmissDate(), endtime);
|
|
|
+// List<PureCodeName> charges = dao.selectChargeQuantities(patNo, times);
|
|
|
+// for (PureCodeName item : charges) {
|
|
|
+// if (item.getCode().equals("003")) {
|
|
|
+// if (DecimalUtil.compare(item.getName(), String.valueOf(inhospdays)) != 0) {
|
|
|
+// ExceptionEnum exception = ExceptionEnum.LOGICAL_ERROR;
|
|
|
+// exception.setMessage("此患者床位费收取数量与住院天数不一致。");
|
|
|
+// throw new BizException(exception);
|
|
|
+// }
|
|
|
+// }
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
dao.deleteTemporaryTable(patNo, times);
|
|
|
PureCodeName medinfo = dao.selectMdtrtId(patNo, times, ledgerSn);
|