|
@@ -153,6 +153,9 @@ public class TransferInOfExpensesService {
|
|
|
// 同时计算 出患者的总金额 以及 费用的类型
|
|
|
list.removeIf(item -> "BILL99".equals(item.getChargeCodeMx()));
|
|
|
for (MzChargeDetail mzChargeDetail : list) {
|
|
|
+ if (mzChargeDetail.getChargeFee().compareTo(BigDecimal.ZERO) == 0) {
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "录入费用不得为 0");
|
|
|
+ }
|
|
|
mzChargeDetail.setDetailSn(maxDetailSn += 1);
|
|
|
}
|
|
|
dao.insertInfoZyDetailCharge(param, list);
|