Browse Source

Merge branch 'dev' into pre-production

single_db
pref_mail@163.com 1 year ago
parent
commit
7c92147b48
  1. 3
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java

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

@ -641,10 +641,10 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService {
* *
* @param stockupDTO * @param stockupDTO
*/ */
@Async
@Override @Override
public void stockupSelfOffShelf(StockupDTO stockupDTO) throws InterruptedException { public void stockupSelfOffShelf(StockupDTO stockupDTO) throws InterruptedException {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse();
log.info(">>>> find bug {}",myCurrentWarehouse);
if (Objects.isNull(myCurrentWarehouse)) { if (Objects.isNull(myCurrentWarehouse)) {
throw new CustomerException(403, "仓库信息不能为空"); throw new CustomerException(403, "仓库信息不能为空");
} }
@ -656,6 +656,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService {
distributionStockupSelfVO = distributionStockupMapper.stockupSelfOffShelf(stockupDTO); distributionStockupSelfVO = distributionStockupMapper.stockupSelfOffShelf(stockupDTO);
} else { } else {
//商 市 //商 市
log.info(">>>> find bug {}",stockupDTO);
distributionStockupSelfVO = distributionStockupMapper.stockupOffShelf(stockupDTO); distributionStockupSelfVO = distributionStockupMapper.stockupOffShelf(stockupDTO);
} }
//有 //有

Loading…
Cancel
Save