dev-v2 #3
|
@ -16,9 +16,7 @@
|
||||||
<update id="updateSysUser">
|
<update id="updateSysUser">
|
||||||
update sys_user
|
update sys_user
|
||||||
set
|
set
|
||||||
<if test="avatar != null and avatar != ''">
|
|
||||||
avatar = #{avatar},
|
|
||||||
</if>
|
|
||||||
<if test="userName != null and userName != ''">
|
<if test="userName != null and userName != ''">
|
||||||
username = #{userName},
|
username = #{userName},
|
||||||
</if>
|
</if>
|
||||||
|
@ -31,6 +29,9 @@
|
||||||
<if test="phone != null and phone != ''">
|
<if test="phone != null and phone != ''">
|
||||||
phone = #{phone},
|
phone = #{phone},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="avatar != null and avatar != ''">
|
||||||
|
avatar = #{avatar},
|
||||||
|
</if>
|
||||||
<if test="description != null and description != ''">
|
<if test="description != null and description != ''">
|
||||||
description = #{description},
|
description = #{description},
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in New Issue