From 3bf96c6cd7a61b6b9888589abbf2162ccc6ffdec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Tue, 26 Oct 2021 19:09:50 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=88=A0=E9=99=A4=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=20=E8=A1=A5=E5=85=A8=E6=BC=94=E7=A4=BAdemo?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/demo/controller/TestDemoController.java | 2 +- ruoyi-framework/pom.xml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestDemoController.java b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestDemoController.java index a3a9d222..32af7d2d 100644 --- a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestDemoController.java +++ b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestDemoController.java @@ -59,7 +59,7 @@ public class TestDemoController extends BaseController { @ApiOperation("自定义分页查询") @PreAuthorize("@ss.hasPermi('demo:demo:list')") @GetMapping("/page") - public TableDataInfo page(@Validated TestDemoBo bo) { + public TableDataInfo page(@Validated(QueryGroup.class) TestDemoBo bo) { return iTestDemoService.customPageList(bo); } diff --git a/ruoyi-framework/pom.xml b/ruoyi-framework/pom.xml index f80c2646..8dc0f258 100644 --- a/ruoyi-framework/pom.xml +++ b/ruoyi-framework/pom.xml @@ -40,12 +40,6 @@ spring-boot-starter-aop - - - org.springframework.boot - spring-boot-starter-validation - - com.alibaba