From 249a8ac34341b34aadfa98e40b376f496328cd8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B6=E4=B8=9C?= <1654135867@qq.com> Date: Sun, 10 Nov 2024 08:54:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E6=8F=90=E4=BA=A4=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/demo/expert/controller/ExpertController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java index 6e82d6f..ed53349 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java @@ -99,6 +99,7 @@ public class ExpertController extends JeecgController { HttpServletRequest req) { //用于查看所有信息无论是否审核,无论哪个部门 QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(expert, req.getParameterMap()); + queryWrapper.eq("isdone","Y"); Page page = new Page(pageNo, pageSize); IPage pageList = expertService.page(page, queryWrapper); pageList.getRecords().forEach(experttemp -> { @@ -149,6 +150,7 @@ public class ExpertController extends JeecgController { //用于查看本县区下面的专家信息无论是否审核,无论哪个部门 QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(expert, req.getParameterMap()); + queryWrapper.eq("isdone","Y"); queryWrapper.in("seusername",usernames); Page page = new Page(pageNo, pageSize); IPage pageList = expertService.page(page, queryWrapper);