根据nick_name查询部门名称

This commit is contained in:
2025-07-14 16:11:46 +08:00
parent cc558af354
commit 1e40a2d344
8 changed files with 113 additions and 1 deletions

View File

@@ -192,6 +192,11 @@
where u.del_flag = '0' and u.email = #{email}
</select>
<select id="selectUserByNickName" parameterType="String" resultMap="SysUserResult">
<include refid="selectUserVo"/>
where u.del_flag = '0' and u.nick_name = #{nickName}
</select>
<select id="selectUserById" parameterType="Long" resultMap="SysUserResult">
<include refid="selectUserVo"/>
where u.del_flag = '0' and u.user_id = #{userId}