1.修改发运明细审核生成汇总信息

This commit is contained in:
zhouc 2024-11-04 20:17:00 +08:00
parent 4ae8998b94
commit 4f0b5bfed9

View File

@ -48,9 +48,7 @@ public class ShippingDetailsAuditOp extends AbstractOperationServicePlugIn {
for (DynamicObject dataEntity : eDataEntities) {
dataEntity = BusinessDataServiceHelper.loadSingle(dataEntity.getPkValue(), dataEntity.getDynamicObjectType().getName());
String name = dataEntity.getDynamicObjectType().getName();
if (name.equals("yem_xshippingdetails")) {
collecttotal(dataEntity);
} else {
if (name.equals("yem_shippingdetails")) {
collect(dataEntity);
}
arrearsAmt(dataEntity);
@ -152,8 +150,8 @@ public class ShippingDetailsAuditOp extends AbstractOperationServicePlugIn {
newEntryEntity.set("yem_constratnb_tl", materialinfo.getString("yem_contractno"));
}
newEntryEntity.set("yem_constractioid_tl", materialinfo.getLong("id"));
// newEntryEntity.set("yem_constracteyid_tl", materialinfo.getLong("yem_sourceentryid"));
newEntryEntity.set("yem_constracteyid_tl", completemachine.getLong("yem_soureceid"));
newEntryEntity.set("yem_constracteyid_tl", materialinfo.getLong("yem_sourceentryid"));
// newEntryEntity.set("yem_constracteyid_tl", completemachine.getLong("yem_soureceid"));
// 汇总影响调拨价
newEntryEntity.set("yem_impactprice1", materialinfo.getString("yem_impactprice"));