|
@@ -1472,7 +1472,9 @@ public class ExecutorMeter extends FormulaExecutor {
|
|
|
/*数据获取end*/
|
|
|
double total=dataList.stream().map(InterimPaymentCertificate::getCurrentPeriodPay).mapToDouble(BaseUtils::obj2DoubleZero).sum();
|
|
|
/*往期累计,本期支付,累计支付*/
|
|
|
- periodCount(dataList.get(dataList.size()-1));
|
|
|
+ if(!dataList.isEmpty()){
|
|
|
+ periodCount(dataList.get(dataList.size()-1));
|
|
|
+ }
|
|
|
if(total>0){
|
|
|
FormData ft =tec.formDataMap.get(InterimPaymentCertificate.TBN+ StringPool.COLON+"key_9");
|
|
|
put2FormData(ft,total);
|