Browse Source

回复TJJ 删除的代码

pull/1/head
pref_mail@163.com 11 months ago
parent
commit
b2e6e2aefa
  1. 5
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionParcelListServiceImpl.java

5
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionParcelListServiceImpl.java

@ -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)); //库位信息

Loading…
Cancel
Save