...
This commit is contained in:
parent
f59eb5471f
commit
ceb3a5ec67
|
@ -167,8 +167,8 @@ public class SysUserController {
|
|||
// @RequiresPermissions("sys:user:export")
|
||||
@ApiImplicitParam(name = "username", value = "用户名", paramType = "query", dataType = "String")
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<SysUserDTO> list = sysUserService.list(params);
|
||||
params.put("export", true);
|
||||
List<SysUserDTO> list = sysUserService.list(params);
|
||||
ExcelUtils.exportExcelToTarget(response, null, "用户管理", list, SysUserExcel.class);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue