|
@@ -476,10 +476,11 @@ public class SysRoleController {
|
|
//------------------------------------------------------------------------------------------------
|
|
//------------------------------------------------------------------------------------------------
|
|
|
|
|
|
// Step.1 组装查询条件
|
|
// Step.1 组装查询条件
|
|
- QueryWrapper<SysRole> queryWrapper = QueryGenerator.initQueryWrapper(sysRole, request.getParameterMap());
|
|
|
|
|
|
+// QueryWrapper<SysRole> queryWrapper = QueryGenerator.initQueryWrapper(sysRole, request.getParameterMap());
|
|
|
|
+ String ids = request.getParameter("ids");
|
|
//Step.2 AutoPoi 导出Excel
|
|
//Step.2 AutoPoi 导出Excel
|
|
ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
|
|
ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
|
|
- List<SysRole> pageList = sysRoleService.listExport(sysRole);
|
|
|
|
|
|
+ List<SysRole> pageList = sysRoleService.listExport(sysRole,ids);
|
|
//导出文件名称
|
|
//导出文件名称
|
|
mv.addObject(NormalExcelConstants.FILE_NAME,"角色列表");
|
|
mv.addObject(NormalExcelConstants.FILE_NAME,"角色列表");
|
|
mv.addObject(NormalExcelConstants.CLASS,SysRole.class);
|
|
mv.addObject(NormalExcelConstants.CLASS,SysRole.class);
|