Merge branch 'dev'

This commit is contained in:
wangliwen 2022-10-31 10:47:48 +08:00
commit 215090891f
1 changed files with 1 additions and 1 deletions

View File

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