|
|
|
@ -163,6 +163,8 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil
|
|
|
|
|
private void createStockArticle(WarehouseWaybillEntity warehouseWaybill,Integer allNum) { |
|
|
|
|
//判断新系统是否有这条订单数据
|
|
|
|
|
//自动生成的在库订单就用运单号作为订单号
|
|
|
|
|
|
|
|
|
|
try{ |
|
|
|
|
String waybillNo = warehouseWaybill.getWaybillNo(); |
|
|
|
|
Long waybillId = warehouseWaybill.getId(); |
|
|
|
|
String destinationWarehouse = warehouseWaybill.getDestinationWarehouseName();//目的仓
|
|
|
|
@ -318,6 +320,10 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil
|
|
|
|
|
distributionStockArticleClient.saveOrUpdate(distributionStockArticleEntity); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}catch (Exception e){ |
|
|
|
|
log.error(">>>>> createStockArticle",e); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//存入包件信息
|
|
|
|
|
// List<WarehouseWayBillDetail> details = warehouseWayBillDetailService.findByWaybillId(waybillId);
|
|
|
|
|