|
|
|
@ -114,7 +114,7 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil
|
|
|
|
|
for (WaybillDesEntity waybillDesEntity : des) { |
|
|
|
|
WarehouseWayBillDetail warehouseWayBillDetail = new WarehouseWayBillDetail(); |
|
|
|
|
warehouseWayBillDetail.setWaybillId(waybillId); |
|
|
|
|
warehouseWayBillDetail.setWaybillCode(waybillNo); |
|
|
|
|
warehouseWayBillDetail.setWaybillNo(waybillNo); |
|
|
|
|
warehouseWayBillDetail.setProductName(waybillDesEntity.getName()); |
|
|
|
|
warehouseWayBillDetail.setNum(waybillDesEntity.getNum()); |
|
|
|
|
warehouseWayBillDetail.setStatus(1); |
|
|
|
@ -123,8 +123,8 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil
|
|
|
|
|
warehouseWayBillDetail.setUpdateTime(date); |
|
|
|
|
ls.add(warehouseWayBillDetail); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
warehouseWayBillDetailService.addList(ls); |
|
|
|
|
//创建在库订单
|
|
|
|
|
createStockArticle(warehouseWaybill); |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
@ -343,6 +343,7 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 插入运单 |
|
|
|
|
* |
|
|
|
|
* @param wayBillEntity |
|
|
|
|
* @param allNum |
|
|
|
|
* @return |
|
|
|
|