|
|
@ -855,7 +855,7 @@ public class DistributionParcelListServiceImpl extends BaseServiceImpl<Distribut |
|
|
|
|
|
|
|
|
|
|
|
BasicMaterialEntity materialOwnId = basicMaterialClient.getMaterialOwnId(materialId.get(0)); |
|
|
|
BasicMaterialEntity materialOwnId = basicMaterialClient.getMaterialOwnId(materialId.get(0)); |
|
|
|
distributionStockListEntity.setSku(materialOwnId.getSku()); |
|
|
|
distributionStockListEntity.setSku(materialOwnId.getSku()); |
|
|
|
// distributionStockListEntity.setMaterialId(materialId.get(0));//货物ID
|
|
|
|
distributionStockListEntity.setMaterialId(materialId.get(0));//货物ID
|
|
|
|
// distributionStockListEntity.setParcelListId(distributionParcelListEntities.getId());//包件id
|
|
|
|
// distributionStockListEntity.setParcelListId(distributionParcelListEntities.getId());//包件id
|
|
|
|
distributionStockListEntity.setQuantityOccupied(0);//冻结数量
|
|
|
|
distributionStockListEntity.setQuantityOccupied(0);//冻结数量
|
|
|
|
distributionStockListEntity.setServiceType(distributionStockArticleEntity.getTypeService());//冻结数量
|
|
|
|
distributionStockListEntity.setServiceType(distributionStockArticleEntity.getTypeService());//冻结数量
|
|
|
@ -870,8 +870,7 @@ public class DistributionParcelListServiceImpl extends BaseServiceImpl<Distribut |
|
|
|
distributionStockListService.updateById(listEntity); |
|
|
|
distributionStockListService.updateById(listEntity); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
log.info("###########distributionStockListEntity>>>>>>>>,{}",distributionStockListEntity); |
|
|
|
log.info("###########distributionStockListEntity>>>>>>>>,{}",distributionStockListEntity); |
|
|
|
// distributionStockListService.save(distributionStockListEntity);
|
|
|
|
distributionStockListService.save(distributionStockListEntity); |
|
|
|
distributionStockListService.getBaseMapper().insert(distributionStockListEntity); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
// distributionStockListEntity.setTrayName(Optional.ofNullable(distributionParcelList.getPallet()).orElse(null)); //托盘
|
|
|
|
// distributionStockListEntity.setTrayName(Optional.ofNullable(distributionParcelList.getPallet()).orElse(null)); //托盘
|
|
|
|
// distributionStockListEntity.setStorageLocation(Optional.ofNullable(distributionParcelList.getGoodsAllocation()).orElse(null)); //库位信息
|
|
|
|
// distributionStockListEntity.setStorageLocation(Optional.ofNullable(distributionParcelList.getGoodsAllocation()).orElse(null)); //库位信息
|
|
|
|