From 7cd87e30ed364aa6806eaa28939ea94ad1524a50 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 08 三月 2024 14:46:50 +0800 Subject: [PATCH] 部门增加管理员 --- src/main/java/com/mindskip/xzs/repository/UserMapper.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/repository/UserMapper.java b/src/main/java/com/mindskip/xzs/repository/UserMapper.java index 67fc22a..695001c 100644 --- a/src/main/java/com/mindskip/xzs/repository/UserMapper.java +++ b/src/main/java/com/mindskip/xzs/repository/UserMapper.java @@ -5,6 +5,7 @@ import com.mindskip.xzs.viewmodel.admin.user.UserPageRequestVM; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; +import org.springframework.security.core.parameters.P; import java.util.List; import java.util.Map; @@ -128,4 +129,10 @@ User selectByWxOpenId(@Param("wxOpenId") String wxOpenId); + + User selectByIdName(@Param("id") Integer id, @Param("userName") String userName); + + List<User> getUserByLevel(@Param("userLevel") Integer userLevel); + + User getUserByRealName(@Param("realName") String realName); } -- Gitblit v1.8.0