From 7af22453bad2e5604a46c190c123c4f289b05b54 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 23 十一月 2021 20:19:51 +0800 Subject: [PATCH] update 更新 redis.conf 存储策略 aof 与 rdb 配置参数 --- ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml index 04788f7..5d9a185 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -189,12 +189,12 @@ <select id="selectUserByUserName" parameterType="String" resultMap="SysUserResult"> <include refid="selectUserVo"/> - where u.user_name = #{userName} + where u.del_flag = '0' and u.user_name = #{userName} </select> <select id="selectUserById" parameterType="Long" resultMap="SysUserResult"> <include refid="selectUserVo"/> - where u.user_id = #{userId} + where u.del_flag = '0' and u.user_id = #{userId} </select> -- Gitblit v1.9.3