|
|
@ -170,11 +170,11 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil |
|
|
|
distributionStockArticleEntity.setServiceNumber(warehouseWaybill.getServiceNo()); |
|
|
|
distributionStockArticleEntity.setServiceNumber(warehouseWaybill.getServiceNo()); |
|
|
|
distributionStockArticleEntity.setWaybillNumber(waybillNo); |
|
|
|
distributionStockArticleEntity.setWaybillNumber(waybillNo); |
|
|
|
distributionStockArticleEntity.setWaybillId(warehouseWaybill.getId()); |
|
|
|
distributionStockArticleEntity.setWaybillId(warehouseWaybill.getId()); |
|
|
|
distributionStockArticleEntity.setWarehouseId(warehouseWaybill.getId()); |
|
|
|
distributionStockArticleEntity.setWarehouseId(basicdataWarehouseEntity.getId()); |
|
|
|
distributionStockArticleEntity.setMallName(warehouseWaybill.getConsigneeName()); |
|
|
|
distributionStockArticleEntity.setMallName(warehouseWaybill.getConsigneeName()); |
|
|
|
distributionStockArticleEntity.setMallId(warehouseWaybill.getConsigneeId()); |
|
|
|
distributionStockArticleEntity.setMallId(warehouseWaybill.getConsigneeId()); |
|
|
|
distributionStockArticleEntity.setDescriptionGoods(warehouseWaybill.getGoodsName()); |
|
|
|
distributionStockArticleEntity.setDescriptionGoods(warehouseWaybill.getGoodsName()); |
|
|
|
distributionStockArticleEntity.setWarehouse(warehouseWaybill.getDepartureWarehouseName()); |
|
|
|
distributionStockArticleEntity.setWarehouse(basicdataWarehouseEntity.getName()); |
|
|
|
distributionStockArticleEntity.setWarehouseEntryTime(date); |
|
|
|
distributionStockArticleEntity.setWarehouseEntryTime(date); |
|
|
|
distributionStockArticleEntity.setTotalNumber(totalCount); |
|
|
|
distributionStockArticleEntity.setTotalNumber(totalCount); |
|
|
|
distributionStockArticleEntity.setHandQuantity(totalCount); |
|
|
|
distributionStockArticleEntity.setHandQuantity(totalCount); |
|
|
@ -235,7 +235,7 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil |
|
|
|
DistributionParcelListEntity entity = new DistributionParcelListEntity(); |
|
|
|
DistributionParcelListEntity entity = new DistributionParcelListEntity(); |
|
|
|
entity.setMaterialName(warehouseWayBillDetail.getProductName()); |
|
|
|
entity.setMaterialName(warehouseWayBillDetail.getProductName()); |
|
|
|
entity.setQuantity(warehouseWayBillDetail.getNum()); |
|
|
|
entity.setQuantity(warehouseWayBillDetail.getNum()); |
|
|
|
entity.setConditions(1); |
|
|
|
entity.setConditions(3); |
|
|
|
entity.setStockArticleId(id); |
|
|
|
entity.setStockArticleId(id); |
|
|
|
ls.add(entity); |
|
|
|
ls.add(entity); |
|
|
|
} |
|
|
|
} |
|
|
@ -244,6 +244,14 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil |
|
|
|
log.warn("#################createStockArticle: 保存包件信息失败 orderSelfNum={}", waybillNo); |
|
|
|
log.warn("#################createStockArticle: 保存包件信息失败 orderSelfNum={}", waybillNo); |
|
|
|
throw new CustomerException(405, "保存包件信息失败"); |
|
|
|
throw new CustomerException(405, "保存包件信息失败"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 判断运单的货物是否齐套
|
|
|
|
|
|
|
|
// todo 目前这里无法判断零担货物是否齐套 默认已到期
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|