修改注册时,求职者对应后端的角色

This commit is contained in:
sh
2025-10-27 11:59:10 +08:00
parent a0fd4eb43a
commit 05e215abb0
3 changed files with 13 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectUserByUserName" parameterType="String" resultMap="SysUserResult">
<include refid="selectUserVo"/>
where u.user_name = #{userName} and u.del_flag = '0'
where u.user_name = #{userName} and u.del_flag = '0' order by create_time desc LIMIT 1
</select>
<select id="selectUserById" parameterType="Long" resultMap="SysUserResult">