未提交不能看

master
王家东 2 weeks ago
parent 22661085a0
commit 249a8ac343
  1. 2
      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<Expert, IExpertService> {
HttpServletRequest req) { HttpServletRequest req) {
//用于查看所有信息无论是否审核,无论哪个部门 //用于查看所有信息无论是否审核,无论哪个部门
QueryWrapper<Expert> queryWrapper = QueryGenerator.initQueryWrapper(expert, req.getParameterMap()); QueryWrapper<Expert> queryWrapper = QueryGenerator.initQueryWrapper(expert, req.getParameterMap());
queryWrapper.eq("isdone","Y");
Page<Expert> page = new Page<Expert>(pageNo, pageSize); Page<Expert> page = new Page<Expert>(pageNo, pageSize);
IPage<Expert> pageList = expertService.page(page, queryWrapper); IPage<Expert> pageList = expertService.page(page, queryWrapper);
pageList.getRecords().forEach(experttemp -> { pageList.getRecords().forEach(experttemp -> {
@ -149,6 +150,7 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
//用于查看本县区下面的专家信息无论是否审核,无论哪个部门 //用于查看本县区下面的专家信息无论是否审核,无论哪个部门
QueryWrapper<Expert> queryWrapper = QueryGenerator.initQueryWrapper(expert, req.getParameterMap()); QueryWrapper<Expert> queryWrapper = QueryGenerator.initQueryWrapper(expert, req.getParameterMap());
queryWrapper.eq("isdone","Y");
queryWrapper.in("seusername",usernames); queryWrapper.in("seusername",usernames);
Page<Expert> page = new Page<Expert>(pageNo, pageSize); Page<Expert> page = new Page<Expert>(pageNo, pageSize);
IPage<Expert> pageList = expertService.page(page, queryWrapper); IPage<Expert> pageList = expertService.page(page, queryWrapper);

Loading…
Cancel
Save