|
@@ -348,7 +348,7 @@ public class ExecutorMeter extends FormulaExecutor {
|
|
|
/*中期支付汇总的章次*/
|
|
|
String ch = inventoryForm.getFormNumber();
|
|
|
InterimPaymentCertificate ipc = new InterimPaymentCertificate(ch + (BaseUtils.isNumber(ch) ? "章" : ""));
|
|
|
- ipc.setChapterSeq(ipc.getItemName());
|
|
|
+ ipc.setFormName(inventoryForm.getFormName());
|
|
|
BigDecimal[] bmMoney = cm.getValue();
|
|
|
ipc.setContractAmount(bmMoney[0].toString());
|
|
|
ipc.setRevisedAmount(bmMoney[1].toString());
|
|
@@ -412,6 +412,7 @@ public class ExecutorMeter extends FormulaExecutor {
|
|
|
for(InterimPaymentCertificate ipc:interimPaymentCertificates){
|
|
|
InterimPaymentSummary ips = new InterimPaymentSummary();
|
|
|
BeanUtils.copyProperties(ipc,ips);
|
|
|
+ ips.setItemName(ipc.getFormName());
|
|
|
ips.calculate();
|
|
|
dataList.add(ips);
|
|
|
}
|
|
@@ -767,7 +768,6 @@ public class ExecutorMeter extends FormulaExecutor {
|
|
|
/*不存在则新增*/
|
|
|
ss = new SubInterimMeterPaySummary();
|
|
|
ss.setItemName(tmpTree.getNodeName());
|
|
|
- ss.currentPeriodPayAdd(meterTree.peer.getCurrentPeriodPay());
|
|
|
tmpTree.peer=ss;
|
|
|
}
|
|
|
/*已存在则相加*/
|
|
@@ -901,6 +901,8 @@ public class ExecutorMeter extends FormulaExecutor {
|
|
|
fieldDataFcMap.put(InterimMeter.TBN+":key_11",interimMeters2oListFc.apply(InterimMeter::getItemNameList));
|
|
|
fieldDataFcMap.put(InterimMeter.TBN+":key_12",interimMeters2oListFc.apply(InterimMeter::getUnitList));
|
|
|
fieldDataFcMap.put(InterimMeter.TBN+":key_13",interimMeters2oListFc.apply(InterimMeter::getCompletedList));
|
|
|
+ /*每条记录一页*/
|
|
|
+ capacity=1;
|
|
|
putOut(InterimMeter.class);
|
|
|
}
|
|
|
}
|