fix:
1.发运明细单保存生成储运汇总
This commit is contained in:
parent
735f1345d9
commit
329239927a
@ -179,7 +179,7 @@ public class ShippingDetailsAuditOp extends AbstractOperationServicePlugIn {
|
||||
newEntryEntity.set("yem_resource_tl", materialinfo.getLong("yem_resourcenog.id"));
|
||||
}
|
||||
if (materialinfo.getDynamicObject("yem_productmodel") != null) {
|
||||
newEntryEntity.set("yem_basicmodel_tl", materialinfo.getLong("yem_productmodel.id"));
|
||||
newEntryEntity.set("yem_basicmodel_tl", materialinfo.getLong("yem_productmodel.yem_products.id"));
|
||||
}
|
||||
if (StringUtil.isNotEmpty(materialinfo.getString("yem_materialname"))) {
|
||||
newEntryEntity.set("yem_materialname_tl", materialinfo.getString("yem_materialname"));
|
||||
@ -208,9 +208,9 @@ public class ShippingDetailsAuditOp extends AbstractOperationServicePlugIn {
|
||||
newEntryEntity.set("yem_qtybase_tl", materialinfo.getBigDecimal("yem_baseqty"));
|
||||
newEntryEntity.set("yem_storageqty_tl", materialinfo.getBigDecimal("yem_storageqty"));
|
||||
|
||||
if (materialinfo.getDynamicObject("yem_materiel")!=null) {
|
||||
newEntryEntity.set("yem_zjnumber_tl", materialinfo.getLong("yem_materiel.id"));
|
||||
}
|
||||
// if (materialinfo.getDynamicObject("yem_materiel")!=null) {
|
||||
// newEntryEntity.set("yem_zjnumber_tl", materialinfo.getLong("yem_materiel.id"));
|
||||
// }
|
||||
if (StringUtil.isNotEmpty(materialinfo.getString("yem_contractno"))) {
|
||||
newEntryEntity.set("yem_constratnb_tl", materialinfo.getString("yem_contractno"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user