feat(修改): 用户头像没有写入数据库,用户退出和查询菜单丢失
Signed-off-by: bunny <1319900154@qq.com>
This commit is contained in:
parent
7f00ce85fa
commit
5efbc229f8
|
@ -16,9 +16,7 @@
|
|||
<update id="updateSysUser">
|
||||
update sys_user
|
||||
set
|
||||
<if test="avatar != null and avatar != ''">
|
||||
avatar = #{avatar},
|
||||
</if>
|
||||
|
||||
<if test="userName != null and userName != ''">
|
||||
username = #{userName},
|
||||
</if>
|
||||
|
@ -31,6 +29,9 @@
|
|||
<if test="phone != null and phone != ''">
|
||||
phone = #{phone},
|
||||
</if>
|
||||
<if test="avatar != null and avatar != ''">
|
||||
avatar = #{avatar},
|
||||
</if>
|
||||
<if test="description != null and description != ''">
|
||||
description = #{description},
|
||||
</if>
|
||||
|
|
Loading…
Reference in New Issue