|
@@ -478,6 +478,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");
|
|
String ids = request.getParameter("ids");
|
|
|
|
+ if (ids.length() > 2) {
|
|
|
|
+ ids = ids.substring(1, ids.length() - 1);
|
|
|
|
+ } else {
|
|
|
|
+ ids = null;
|
|
|
|
+ }
|
|
//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,ids);
|
|
List<SysRole> pageList = sysRoleService.listExport(sysRole,ids);
|