提交 4d238ac8 作者: xiaowang

bug修复

上级 3fceda94
......@@ -170,6 +170,7 @@ public class LeaseOrderServiceImpl implements LeaseOrderService {
// 够抵扣押金
shareCashPledge = otherCashPledge;
}
}
otherCashPledge = otherCashPledge.subtract(shareCashPledge);
if (otherCashPledge.compareTo(BigDecimal.ZERO) == 0) {
otherAmount = otherAmount.subtract(shareCashPledge);
......@@ -188,8 +189,6 @@ public class LeaseOrderServiceImpl implements LeaseOrderService {
}
}
}
}
// 抵扣完后当押金为0的时候 继续抵扣其余金额
if (otherCashPledge.compareTo(BigDecimal.ZERO) == 0) {
if (param.getDeductShareAmount().equals(1)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论