From d4e1d4ec3858c4cb4d677e183fea22ec23ea89bf Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期日, 28 十一月 2021 21:22:26 +0800 Subject: [PATCH] !117 fix: 修复Object剩余存活时间BUG Merge pull request !117 from dawn9117/N/A --- ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml index 63fdaa0..04788f7 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -86,6 +86,9 @@ sys_user u left join sys_dept d on u.dept_id = d.dept_id where u.del_flag = '0' + <if test="user.userId != null and user.userId != 0"> + AND u.user_id = #{user.userId} + </if> <if test="user.userName != null and user.userName != ''"> AND u.user_name like concat('%', #{user.userName}, '%') </if> -- Gitblit v1.9.3