From a5f90b7b1890354b9f192138e580a2f7c461e57c Mon Sep 17 00:00:00 2001 From: "zhiyong.ning" <354350178@qq.com> Date: Thu, 20 Aug 2020 18:31:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yipin/liuwanr/mapper/UserMapper.java | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/yipin/liuwanr/mapper/UserMapper.java b/src/main/java/com/yipin/liuwanr/mapper/UserMapper.java index 347d08b..ce3f75d 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/UserMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/UserMapper.java @@ -129,7 +129,24 @@ public interface UserMapper { "GROUP BY u.userId order by u.creationTime desc", " "}) List queryUser(UserM user); - + + @Select({" "}) + List queryUserInfo(UserInfo userInfo); + @Update("UPDATE user SET isdel = 1 where userId = #{userId}") void deleteUser(Integer userId);