Browse Source

BUG修复

dist.1.3.0
汤建军 7 months ago
parent
commit
348d31c1e9
  1. 9
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java
  2. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java

9
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java

@ -1482,6 +1482,15 @@ public class DistributionStockupAppController extends BladeController {
entity.setStockupAreaId(stockupDTO.getStockupAllocationId()); entity.setStockupAreaId(stockupDTO.getStockupAllocationId());
} }
distributionStockService.save(entity); distributionStockService.save(entity);
//这里尝试修改备货库存品包件的备货状态
boolean update = distributionParcelListService.update(Wrappers.<DistributionParcelListEntity>update().lambda()
.eq(DistributionParcelListEntity::getOrderPackageCode, entity.getCoding())
.eq(DistributionParcelListEntity::getWarehouseId, myCurrentWarehouse.getId())
.eq(DistributionParcelListEntity::getConditions, "2")
.eq(DistributionParcelListEntity::getMaterialId, entity.getMaterialId())
.eq(DistributionParcelListEntity::getMallId, entity.getMarketId())
.set(DistributionParcelListEntity::getOrderPackageStockupStatus, OrderPackageStockupStatusConstant.yibeihu.getValue())
);
//扫码成功 //扫码成功
return Resp.scanSuccess(PdaAudioLingoStatus.saomiaochenggong.getName(), audioValue); return Resp.scanSuccess(PdaAudioLingoStatus.saomiaochenggong.getName(), audioValue);

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java

@ -3063,8 +3063,6 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService {
.eq(DistrilbutionBillStockEntity::getBillLadingId, s) .eq(DistrilbutionBillStockEntity::getBillLadingId, s)
.apply("order_status in ( '1' , '3')") .apply("order_status in ( '1' , '3')")
); );
List<MtReceiveContentDTO> mtReceiveContentDTOList = new ArrayList<>();
List<String> consigneePerson = new ArrayList<>();
if (!list.isEmpty()) { if (!list.isEmpty()) {
List<Long> orderIds = list.stream().map(DistrilbutionBillStockEntity::getStockArticleId).distinct().collect(Collectors.toList()); List<Long> orderIds = list.stream().map(DistrilbutionBillStockEntity::getStockArticleId).distinct().collect(Collectors.toList());
handlePushFactoryOrderIds(orderIds, s, warehouse, user); handlePushFactoryOrderIds(orderIds, s, warehouse, user);

Loading…
Cancel
Save