新增用户优化

This commit is contained in:
马三炮 2025-04-29 13:51:15 +08:00
parent 1b84b3e46e
commit 4130c81a57
1 changed files with 9 additions and 3 deletions

View File

@ -57,8 +57,11 @@
<if test="userCode != null and userCode != ''">
user_code,
</if>
sex, dept,login_type, role_id, user_type, state,
sex, dept, role_id, user_type, state,
password,
<if test="loginType != null and loginType != ''">
login_type,
</if>
<if test="teamId != null and teamId != ''">
team_id,
</if>
@ -67,9 +70,12 @@
<if test="userCode != null and userCode != ''">
#{userCode},
</if>
#{sex}, #{dept},#{loginType}, #{roleId}, #{userType},
#{sex}, #{dept}, #{roleId}, #{userType},
1,
#{password},
<if test="loginType != null and loginType != ''">
#{loginType},
</if>
<if test="teamId != null and teamId != ''">
#{teamId},
</if>
@ -322,4 +328,4 @@
set sign_img = #{signImg}
where id = #{id}
</update>
</mapper>
</mapper>