demand: TMS系统 - 客户账单管理 - 业务销账申请 - 理赔金额、折让金额、抵扣金额、其他金额不为0的不允许申请
This commit is contained in:
parent
e67e7a1d88
commit
dc941ef22d
@ -166,7 +166,7 @@ public class EmisWriteoffApplyServiceImpl extends EmisBaseService implements IEm
|
||||
(allowanceMoney != null && allowanceMoney.compareTo(BigDecimal.ZERO) != 0) ||
|
||||
(deductionMoney != null && deductionMoney.compareTo(BigDecimal.ZERO) != 0) ||
|
||||
(otherMoney != null && otherMoney.compareTo(BigDecimal.ZERO) != 0)) {
|
||||
throw new EmisBizError(detail.getSettleBillNo() + " 存在理赔金额/折让金额/抵扣金额/其他金额,请联系财务处理");
|
||||
throw new EmisBizError(detail.getBillCode() + " 存在理赔金额/折让金额/抵扣金额/其他金额,请联系财务处理");
|
||||
}
|
||||
|
||||
// 验证:申请金额 + 已收金额 <= 账单应收金额
|
||||
|
||||
Loading…
Reference in New Issue
Block a user