合同提交bug修复

This commit is contained in:
李贵强 2025-05-15 16:44:57 +08:00
parent 884a97272f
commit 269af98913
1 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,8 @@ public class ContractOPPlugin extends AbstractOperationServicePlugIn {
case "submit": case "submit":
for (ExtendedDataEntity extendedDataEntity : dataEntities1) { for (ExtendedDataEntity extendedDataEntity : dataEntities1) {
//保证金明细 //保证金明细
DynamicObject dataEntity = extendedDataEntity.getDataEntity(); //DynamicObject dataEntity = extendedDataEntity.getDataEntity();
DynamicObject dataEntity = BusinessDataServiceHelper.loadSingle(extendedDataEntity.getBillPkId(), "recon_contractbill");
DynamicObjectCollection qeugBondentrys; DynamicObjectCollection qeugBondentrys;
try { try {
qeugBondentrys = dataEntity.getDynamicObjectCollection("qeug_bondentry"); qeugBondentrys = dataEntity.getDynamicObjectCollection("qeug_bondentry");
@ -50,7 +51,7 @@ public class ContractOPPlugin extends AbstractOperationServicePlugIn {
//合同清单(定额) //合同清单(定额)
DynamicObjectCollection invoiceentryinfos; DynamicObjectCollection invoiceentryinfos;
BigDecimal qeug_amounts = BigDecimal.ZERO;//金额()_合计 BigDecimal qeug_amounts = BigDecimal.ZERO;//金额()_合计
//合同清单(定额) //合同清单(定额)
DynamicObjectCollection orderformentry; DynamicObjectCollection orderformentry;
BigDecimal qeug_taxtotalprices = BigDecimal.ZERO;//金额()_合计 BigDecimal qeug_taxtotalprices = BigDecimal.ZERO;//金额()_合计
boolean isEntry = false; boolean isEntry = false;