|
@@ -1430,10 +1430,10 @@ public class ExecutorMeter extends FormulaExecutor {
|
|
|
//如果合计(上期末支付金额)>0
|
|
|
if(BaseUtils.obj2DoubleZero(t.getPreviousPeriodEndPay())>0) {
|
|
|
//实际支付(上期末支付金额)=实际支付(上期末支付金额)-保留金(上期末支付金额)
|
|
|
- w.setPreviousPeriodEndPay(StringUtils.number2String(subtractFc.apply(w.getPreviousPeriodEndPay(), finalBlj.getCurrentPeriodEndPay()),0));
|
|
|
+ w.setPreviousPeriodEndPay(StringUtils.number2String(subtractFc.apply(w.getPreviousPeriodEndPay(), finalBlj.getPreviousPeriodEndPay()),0));
|
|
|
}
|
|
|
//实际支付(本期末支付金额)=实际支付(本期末支付金额)-保留金(本期末支付金额)
|
|
|
- w.setCurrentPeriodEndPay(StringUtils.number2String(subtractFc.apply(w.getCurrentPeriodEndPay(),finalBlj.getPreviousPeriodEndPay()),0));
|
|
|
+ w.setCurrentPeriodEndPay(StringUtils.number2String(subtractFc.apply(w.getCurrentPeriodEndPay(),finalBlj.getCurrentPeriodEndPay()),0));
|
|
|
});
|
|
|
itemList.stream().filter(item->"保留金".equals(item.getChapterSeq())).findFirst().ifPresent(w->{
|
|
|
w.setPreviousPeriodEndPay(finalBlj.getPreviousPeriodEndPay());
|