From a1206ca269be265696b6455b585bd75243a1f6c8 Mon Sep 17 00:00:00 2001 From: NH-LHG Date: Mon, 19 Jun 2023 09:51:30 +0800 Subject: [PATCH] =?UTF-8?q?[update]=E8=AE=A2=E5=8D=95=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/erp/controller/OrderController.java | 4 +--- .../modules/demo/erp/mapper/xml/OrderMapper.xml | 2 +- .../org/jeecg/modules/demo/erp/vo/OrderPage.java | 14 ++++++++++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/controller/OrderController.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/controller/OrderController.java index 3885048..c310812 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/controller/OrderController.java +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/controller/OrderController.java @@ -108,9 +108,7 @@ public class OrderController { @ApiOperation(value="订单状态统计", notes="订单状态统计") @GetMapping(value = "/queryState") public Result queryState(@RequestParam(name="userId",required=true) String userId){ - OrderStateVo orderStateVo = new OrderStateVo(); - orderStateVo = orderService.queryState(userId); - return Result.OK(orderStateVo); + return Result.OK(orderService.queryState(userId)); } /** * 添加 diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/mapper/xml/OrderMapper.xml b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/mapper/xml/OrderMapper.xml index ee5e75b..2eb1f3c 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/mapper/xml/OrderMapper.xml +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/mapper/xml/OrderMapper.xml @@ -6,7 +6,7 @@