dev-v2 #3
|
@ -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