mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2026-01-18 00:14:58 +00:00
用户头像更换后移除旧头像文件
This commit is contained in:
@@ -166,6 +166,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<update id="updateUserAvatar" parameterType="SysUser">
|
||||
update sys_user set avatar = #{avatar} where user_id = #{userId}
|
||||
</update>
|
||||
|
||||
<update id="updateUser" parameterType="SysUser">
|
||||
update sys_user
|
||||
<set>
|
||||
|
||||
Reference in New Issue
Block a user