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);