From ceb3a5ec67e47342cc77eef1cd89c5e975abd390 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 31 Oct 2022 10:47:40 +0800 Subject: [PATCH] ... --- .../io/renren/modules/sys/controller/SysUserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renren-admin/src/main/java/io/renren/modules/sys/controller/SysUserController.java b/renren-admin/src/main/java/io/renren/modules/sys/controller/SysUserController.java index b3b3b65e..dfaa4fb5 100644 --- a/renren-admin/src/main/java/io/renren/modules/sys/controller/SysUserController.java +++ b/renren-admin/src/main/java/io/renren/modules/sys/controller/SysUserController.java @@ -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 params, HttpServletResponse response) throws Exception { - List list = sysUserService.list(params); params.put("export", true); + List list = sysUserService.list(params); ExcelUtils.exportExcelToTarget(response, null, "用户管理", list, SysUserExcel.class); }