diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockListInfoController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockListInfoController.java index a1429c134..712cf8908 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockListInfoController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockListInfoController.java @@ -77,7 +77,8 @@ public class DistributionStockListInfoController extends BladeController { @ApiOperationSupport(order = 2) @ApiOperation(value = "分页", notes = "传入distributionStockListInfo") public R> list(@ApiIgnore @RequestParam Map distributionStockListInfo, Query query) { - IPage pages = distributionStockListInfoService.page(Condition.getPage(query), Condition.getQueryWrapper(distributionStockListInfo, DistributionStockListInfoEntity.class)); + IPage pages =distributionStockListInfoService.getStockListInfo(distributionStockListInfo,Condition.getPage(query)); +// IPage pages = distributionStockListInfoService.page(Condition.getPage(query), Condition.getQueryWrapper(distributionStockListInfo, DistributionStockListInfoEntity.class)); return R.data(DistributionStockListInfoWrapper.build().pageVO(pages)); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListInfoMapper.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListInfoMapper.java index c08b7624e..840ab0720 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListInfoMapper.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListInfoMapper.java @@ -54,4 +54,7 @@ public interface DistributionStockListInfoMapper extends BaseMapper exportDistributionStockListInfo(@Param("ew") Wrapper queryWrapper); Map selectDistributionStockByOrderPackageCodeAndWarehourseIdAndCargoNumber(@Param("associationValue") String associationValue, @Param("warehouseId") Long warehouseId, @Param("cargoNumber") String cargoNumber); + + IPage getStockListInfo(@Param("par")IPage page, Map distributionStockListInfo); + } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListInfoMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListInfoMapper.xml index 6e0a234f1..eeb142bad 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListInfoMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockListInfoMapper.xml @@ -91,5 +91,17 @@ ); - + diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionStockListInfoService.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionStockListInfoService.java index 2644ac229..661b6a0d4 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionStockListInfoService.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionStockListInfoService.java @@ -51,4 +51,11 @@ public interface IDistributionStockListInfoService extends BaseService exportDistributionStockListInfo(Map distributionStockListInfo); + /** + * 查询入库明细记录 + * @param distributionStockListInfo + * @param page + * @return + */ + IPage getStockListInfo(Map distributionStockListInfo, IPage page); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListInfoServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListInfoServiceImpl.java index 175dada76..5e22fc799 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListInfoServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListInfoServiceImpl.java @@ -73,4 +73,15 @@ public class DistributionStockListInfoServiceImpl extends BaseServiceImpl getStockListInfo(Map distributionStockListInfo, IPage page) { + + return baseMapper.getStockListInfo(page, distributionStockListInfo); + } + }