diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockArticleStatisticsController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockArticleStatisticsController.java index 29035e9ba..b5ac1370c 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockArticleStatisticsController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockArticleStatisticsController.java @@ -18,7 +18,7 @@ public class DistributionStockArticleStatisticsController extends BladeControlle private IDistributionStockArticleStatisticsService distributionStockArticleStatisticsService; @GetMapping(value = "/collect") - public R collect(@RequestParam(required = false) DistributionStockArticleOweDTO distributionStockArticleOweDTO) { + public R collect(DistributionStockArticleOweDTO distributionStockArticleOweDTO) { DistributionStockArticleStatisticsDTO collect = distributionStockArticleStatisticsService.collect(distributionStockArticleOweDTO); return R.data(collect); }