From 60bbac4fdd04e67c0df8fe6b828582350e08cf83 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 12 三月 2024 11:29:55 +0800 Subject: [PATCH] 考生下拉bug --- src/main/java/com/mindskip/xzs/repository/UserMapper.java | 10 ++++++++++ 1 files changed, 10 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 7e40f45..89aaf6f 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; @@ -132,4 +133,13 @@ User selectByIdName(@Param("id") Integer id, @Param("userName") String userName); List<User> getUserByLevel(@Param("userLevel") Integer userLevel); + + User getUserByRealName(@Param("realName") String realName); + + /** + * 淇敼閮ㄩ棬绠$悊鍛樻爣璇� + * @param id + * @param deptAdmin + */ + void updateDeptAdmin(Integer id, String deptAdmin); } -- Gitblit v1.8.0