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