From f40a33bd3a718b41857e8f88ff473e292508b440 Mon Sep 17 00:00:00 2001 From: cxy <1276771477@qq.com> Date: Sun, 24 Nov 2024 17:12:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BA=86=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E6=B2=A1=E4=BB=80=E4=B9=88=E7=94=A8=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/com/backend/mapper/UserMapper.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/src/main/java/com/backend/mapper/UserMapper.java b/backend/src/main/java/com/backend/mapper/UserMapper.java index 30a7933..7405066 100644 --- a/backend/src/main/java/com/backend/mapper/UserMapper.java +++ b/backend/src/main/java/com/backend/mapper/UserMapper.java @@ -16,9 +16,6 @@ public interface UserMapper { @Update("update user set nickname=#{nickname}, phone=#{phone}, email=#{email}, update_time=now() where id=#{id}") void update(final User user); - @Update("update user set user_pic=#{url}, update_time=now() where id=#{id}") - void updateAvatar(final String url, final Integer id); - @Update("update user set password=#{md5String}, update_time=now() where id=#{id}") void updatePwd(final String md5String, final Integer id); }