1.修改发运明细审核生成汇总信息
This commit is contained in:
parent
4ae8998b94
commit
4f0b5bfed9
@ -48,9 +48,7 @@ public class ShippingDetailsAuditOp extends AbstractOperationServicePlugIn {
|
|||||||
for (DynamicObject dataEntity : eDataEntities) {
|
for (DynamicObject dataEntity : eDataEntities) {
|
||||||
dataEntity = BusinessDataServiceHelper.loadSingle(dataEntity.getPkValue(), dataEntity.getDynamicObjectType().getName());
|
dataEntity = BusinessDataServiceHelper.loadSingle(dataEntity.getPkValue(), dataEntity.getDynamicObjectType().getName());
|
||||||
String name = dataEntity.getDynamicObjectType().getName();
|
String name = dataEntity.getDynamicObjectType().getName();
|
||||||
if (name.equals("yem_xshippingdetails")) {
|
if (name.equals("yem_shippingdetails")) {
|
||||||
collecttotal(dataEntity);
|
|
||||||
} else {
|
|
||||||
collect(dataEntity);
|
collect(dataEntity);
|
||||||
}
|
}
|
||||||
arrearsAmt(dataEntity);
|
arrearsAmt(dataEntity);
|
||||||
@ -152,8 +150,8 @@ public class ShippingDetailsAuditOp extends AbstractOperationServicePlugIn {
|
|||||||
newEntryEntity.set("yem_constratnb_tl", materialinfo.getString("yem_contractno"));
|
newEntryEntity.set("yem_constratnb_tl", materialinfo.getString("yem_contractno"));
|
||||||
}
|
}
|
||||||
newEntryEntity.set("yem_constractioid_tl", materialinfo.getLong("id"));
|
newEntryEntity.set("yem_constractioid_tl", materialinfo.getLong("id"));
|
||||||
// newEntryEntity.set("yem_constracteyid_tl", materialinfo.getLong("yem_sourceentryid"));
|
newEntryEntity.set("yem_constracteyid_tl", materialinfo.getLong("yem_sourceentryid"));
|
||||||
newEntryEntity.set("yem_constracteyid_tl", completemachine.getLong("yem_soureceid"));
|
// newEntryEntity.set("yem_constracteyid_tl", completemachine.getLong("yem_soureceid"));
|
||||||
|
|
||||||
// 汇总影响调拨价
|
// 汇总影响调拨价
|
||||||
newEntryEntity.set("yem_impactprice1", materialinfo.getString("yem_impactprice"));
|
newEntryEntity.set("yem_impactprice1", materialinfo.getString("yem_impactprice"));
|
||||||
|
Loading…
Reference in New Issue
Block a user