|
@@ -372,13 +372,13 @@
|
|
|
</update>
|
|
|
|
|
|
<update id="updateAvatar">
|
|
|
- <if test="sysUserType == 'STUDENT'">
|
|
|
+ <if test="clientId == 'STUDENT'">
|
|
|
update student set avatar_ = #{avatar} where user_id_ = #{id}
|
|
|
</if>
|
|
|
- <if test="sysUserType == 'TEACHER'">
|
|
|
+ <if test="clientId == 'TEACHER'">
|
|
|
update teacher set avatar_ = #{avatar} where user_id_ = #{id}
|
|
|
</if>
|
|
|
- <if test="sysUserType == 'SYSTEM'">
|
|
|
+ <if test="clientId == 'SYSTEM'">
|
|
|
update sys_user set avatar_ = #{avatar} where id_ = #{id}
|
|
|
</if>
|
|
|
</update>
|