合同列表提交,获取合同清单定额的金额失败

This commit is contained in:
ptt 2025-04-10 15:55:11 +08:00
parent 96ac2155d3
commit 34a9b6dfed
1 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,11 @@ public class ContractOPPlugin extends AbstractOperationServicePlugIn {
try {
//合同监控列表点击提交会提示找不到:qeug_invoiceentryinfo属性
invoiceentryinfos = dataEntity.getDynamicObjectCollection("qeug_invoiceentryinfo");
if (!invoiceentryinfos.isEmpty()) {
for (DynamicObject invoiceentryinfo : invoiceentryinfos) {
BigDecimal qeug_amount = invoiceentryinfo.getBigDecimal("qeug_amount");
}
}
}catch (Exception e){
dataEntity = BusinessDataServiceHelper.loadSingle(dataEntity.getPkValue(),"recon_contractbill");
invoiceentryinfos = dataEntity.getDynamicObjectCollection("qeug_invoiceentryinfo");