fix: 逻辑删除字段名未同步修改问题修复

This commit is contained in:
hxr
2024-06-25 00:11:19 +08:00
parent 4bd9bc748b
commit 6630f68a1e

View File

@@ -58,7 +58,7 @@
<result property="avatar" column="avatar" jdbcType="VARCHAR"/> <result property="avatar" column="avatar" jdbcType="VARCHAR"/>
<result property="email" column="email" jdbcType="VARCHAR"/> <result property="email" column="email" jdbcType="VARCHAR"/>
<result property="status" column="status" jdbcType="BOOLEAN"/> <result property="status" column="status" jdbcType="BOOLEAN"/>
<result property="deptId" column="dept_id" jdbcType="BIGINT"></result> <result property="deptId" column="dept_id" jdbcType="BIGINT"/>
<collection <collection
property="roleIds" property="roleIds"
column="id" column="id"
@@ -77,12 +77,12 @@
gender, gender,
avatar, avatar,
email, email,
STATUS, status,
dept_id dept_id
FROM FROM
sys_user sys_user
WHERE WHERE
id = #{userId} AND deleted = 0 id = #{userId} AND is_deleted = 0
</select> </select>
<!-- 用户认证信息映射 --> <!-- 用户认证信息映射 -->
@@ -124,7 +124,7 @@
CASE u.gender CASE u.gender
WHEN 1 THEN '男' WHEN 1 THEN '男'
WHEN 2 THEN '女' WHEN 2 THEN '女'
ELSE '未知' ELSE '保密'
END gender, END gender,
d.NAME AS dept_name, d.NAME AS dept_name,
u.create_time u.create_time