From 91f90daf824f6a0cee36e68cbf5689ca65735e2d Mon Sep 17 00:00:00 2001 From: gaoqr <13665037151@163.com> Date: Mon, 12 Aug 2024 09:20:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=9E=90=E9=A1=B5=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=EF=BC=9A=E6=80=BB=E6=95=B0=E7=BB=9F=E8=AE=A1=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=AF=B7=E6=B1=82=E5=85=A5=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order/OrderStatisticsController.java | 20 +++++++++---------- .../service/order/OrderStatisticsService.java | 10 +++++----- .../order/OrderStatisticsServiceImpl.java | 10 +++++----- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/order/OrderStatisticsController.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/order/OrderStatisticsController.java index 0981d4f2e..ebf418895 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/order/OrderStatisticsController.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/order/OrderStatisticsController.java @@ -31,32 +31,32 @@ public class OrderStatisticsController { @GetMapping("/total") @Operation(summary = "生产单总数") - public CommonResult getOrderCount(OrderStatisticsReqVO reqVO) { - return success(orderStatisticsService.orderCount(reqVO)); + public CommonResult getOrderCount() { + return success(orderStatisticsService.orderCount()); } @GetMapping("/today/increase") @Operation(summary = "今日新增生产单总数") - public CommonResult getOrderCountToday(OrderStatisticsReqVO reqVO) { - return success(orderStatisticsService.orderCountToday(reqVO)); + public CommonResult getOrderCountToday() { + return success(orderStatisticsService.orderCountToday()); } @GetMapping("/today/finish") @Operation(summary = "今日生产单完成总数") - public CommonResult getOrderCountTodayFinish(OrderStatisticsReqVO reqVO) { - return success(orderStatisticsService.orderCountTodayFinish(reqVO)); + public CommonResult getOrderCountTodayFinish() { + return success(orderStatisticsService.orderCountTodayFinish()); } @GetMapping("/producing/total") @Operation(summary = "生产中生产单总数") - public CommonResult getOrderCountProduce(OrderStatisticsReqVO reqVO) { - return success(orderStatisticsService.orderCountProduce(reqVO)); + public CommonResult getOrderCountProduce() { + return success(orderStatisticsService.orderCountProduce()); } @GetMapping("/producing/square") @Operation(summary = "生产中生产平方数") - public CommonResult getOrderSquareProduce(OrderStatisticsReqVO reqVO) { - return success(orderStatisticsService.orderSquareProduce(reqVO)); + public CommonResult getOrderSquareProduce() { + return success(orderStatisticsService.orderSquareProduce()); } @GetMapping("/orderStatus/group") diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderStatisticsService.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderStatisticsService.java index f772699b4..51d8ad19a 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderStatisticsService.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderStatisticsService.java @@ -14,27 +14,27 @@ public interface OrderStatisticsService { /** * 生产单总数统计 */ - Integer orderCount(OrderStatisticsReqVO reqVO); + Integer orderCount(); /** * 今日新增生产单总数统计 */ - Integer orderCountToday(OrderStatisticsReqVO reqVO); + Integer orderCountToday(); /** * 今日生产单完成总数 */ - Integer orderCountTodayFinish(OrderStatisticsReqVO reqVO); + Integer orderCountTodayFinish(); /** * 今日生产单完成总数 */ - Integer orderCountProduce(OrderStatisticsReqVO reqVO); + Integer orderCountProduce(); /** * 今日生产单完成总数 */ - Integer orderSquareProduce(OrderStatisticsReqVO reqVO); + Integer orderSquareProduce(); /** * 生产单状态分组统计 diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderStatisticsServiceImpl.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderStatisticsServiceImpl.java index a2cdc3f5c..e20d48a54 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderStatisticsServiceImpl.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/order/OrderStatisticsServiceImpl.java @@ -52,27 +52,27 @@ public class OrderStatisticsServiceImpl implements OrderStatisticsService { private static final String SERIES_FIELD_NAME = "series"; @Override - public Integer orderCount(OrderStatisticsReqVO reqVO) { + public Integer orderCount() { return orderStatisticsMapper.selectOrderCount(); } @Override - public Integer orderCountToday(OrderStatisticsReqVO reqVO) { + public Integer orderCountToday() { return orderStatisticsMapper.selectOrderCountToday(); } @Override - public Integer orderCountTodayFinish(OrderStatisticsReqVO reqVO) { + public Integer orderCountTodayFinish() { return orderStatisticsMapper.selectOrderCountTodayFinish(); } @Override - public Integer orderCountProduce(OrderStatisticsReqVO reqVO) { + public Integer orderCountProduce() { return orderStatisticsMapper.selectOrderCountProduce(); } @Override - public Integer orderSquareProduce(OrderStatisticsReqVO reqVO) { + public Integer orderSquareProduce() { return orderStatisticsMapper.selectOrderSquareProduce(); }