|
@@ -258,6 +258,8 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
s1.setTotalPrice(s1.getTotal().multiply(s1.getUnitPrice()));//计算总价
|
|
s1.setTotalPrice(s1.getTotal().multiply(s1.getUnitPrice()));//计算总价
|
|
|
|
+ s1.setSyOrderDataId(syPreAssembledPackingListItem.getSyOrderDataId());//订单数据子表id
|
|
|
|
+ s1.setSyOrderDataItemId(syPreAssembledPackingListItem.getSyOrderDataItemId());//订单数据子表id
|
|
s1.setSalesman(syPreAssembledPackingListItem.getSalesman());//业务员
|
|
s1.setSalesman(syPreAssembledPackingListItem.getSalesman());//业务员
|
|
s1.setSalesDepartment(syPreAssembledPackingListItem.getSalesDepartment());//业务部门
|
|
s1.setSalesDepartment(syPreAssembledPackingListItem.getSalesDepartment());//业务部门
|
|
s1.setSpurOrSubOrder(syPreAssembledPackingListItem.getSpurOrSubOrder());//采购委外订单号
|
|
s1.setSpurOrSubOrder(syPreAssembledPackingListItem.getSpurOrSubOrder());//采购委外订单号
|
|
@@ -610,6 +612,9 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
item1.setOmpoId(syPreItem.getOmpoId());//主表id
|
|
item1.setOmpoId(syPreItem.getOmpoId());//主表id
|
|
item1.setOmpoIdItem(syPreItem.getOmpoIdItem());//子表id
|
|
item1.setOmpoIdItem(syPreItem.getOmpoIdItem());//子表id
|
|
item1.setOmpoAccount(syPreItem.getOmpoAccount());//子表id
|
|
item1.setOmpoAccount(syPreItem.getOmpoAccount());//子表id
|
|
|
|
+
|
|
|
|
+ item1.setSyOrderDataId(syPreItem.getSyOrderDataId());//订单数据子表id
|
|
|
|
+ item1.setSyOrderDataItemId(syPreItem.getSyOrderDataItemId());//订单数据子表id
|
|
item1.setSupplier(syPreItem.getSupplier());
|
|
item1.setSupplier(syPreItem.getSupplier());
|
|
item1.setSupplierCode(syPreItem.getSupplierCode());
|
|
item1.setSupplierCode(syPreItem.getSupplierCode());
|
|
syPreAssembledPackingListItemMapper.updateById(syPreItem);//修改剩余数量
|
|
syPreAssembledPackingListItemMapper.updateById(syPreItem);//修改剩余数量
|