From eeeebc8d62e36659ff57133e23d1bdbf3b78f23a Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Fri, 23 Aug 2024 15:05:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=BD=BD=E4=BD=93=E7=BB=B4=E4=BF=AE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/web/controller/system/system/SysUserController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserController.java index bbe85e2..b3313bf 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysUserController.java @@ -352,8 +352,8 @@ public class SysUserController extends BaseController { @PostMapping("/userList") @ResponseBody public AjaxResult userList() { - SysUser sysUser = new SysUser(); - return AjaxResult.success(userService.selectUserList(sysUser)); + return AjaxResult.success(userService.lambdaQuery(). + select(SysUser::getUserId,SysUser::getUserName).list()); }