From fe0a4c0495cf9f1a65343158c2a8c2d4a163e045 Mon Sep 17 00:00:00 2001 From: qirong <2032486488@qq.com> Date: 星期二, 28 十一月 2023 21:16:21 +0800 Subject: [PATCH] 优化查询 --- src/main/java/com/mindskip/xzs/service/UserService.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/service/UserService.java b/src/main/java/com/mindskip/xzs/service/UserService.java index d4e37c0..51b3713 100644 --- a/src/main/java/com/mindskip/xzs/service/UserService.java +++ b/src/main/java/com/mindskip/xzs/service/UserService.java @@ -128,4 +128,8 @@ void changePicture(User user, String imagePath); User selectByIdName(Integer id, String userName); + + List<User> getUserByLevel(Integer userLevel); + + User getUserByRealName(String realName); } -- Gitblit v1.8.0