Browse Source

商场端库存品仓库信息

training
汤建军 1 year ago
parent
commit
978d2c9776
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockArticleController.java
  2. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.xml

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockArticleController.java

@ -270,8 +270,6 @@ public class DistributionStockArticleController extends BladeController {
// .collect(Collectors.toList()); // .collect(Collectors.toList());
// distributionStockArticle.setWarehouseIdList(collect); // distributionStockArticle.setWarehouseIdList(collect);
IPage<DistributionStockArticleEntity> pages = distributionStockArticleService.selectClientListPage(Condition.getPage(query), distributionStockArticle); IPage<DistributionStockArticleEntity> pages = distributionStockArticleService.selectClientListPage(Condition.getPage(query), distributionStockArticle);
return R.data(DistributionStockArticleWrapper.build().pageVO(pages)); return R.data(DistributionStockArticleWrapper.build().pageVO(pages));
} }

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListMapper.xml

@ -35,7 +35,7 @@
</resultMap> </resultMap>
<sql id="stockList"> <sql id="stockList">
select DISTINCT ldsi.service_number serviceNumber,ldsi.service_type serviceType,ldsi.description_goods descriptionGoods,ldsi.cargo_number cargoNumber,ldsi.despatch ,ldsi.incoming_batch incomingBatch, select DISTINCT ldsi.service_number serviceNumber,ldsi.service_type serviceType,ldsi.description_goods descriptionGoods,ldsi.cargo_number cargoNumber,ldsi.despatch ,ldsi.incoming_batch incomingBatch,ldsi.warehouse_id warehouseId,
CASE WHEN ldsi.pid is null THEN CASE WHEN ldsi.pid is null THEN
(select sum(l.quantity_stock) (select sum(l.quantity_stock)
from logpm_distribution_stock_list l from logpm_distribution_stock_list l

Loading…
Cancel
Save