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);