From 26422a99ed7e19579ca11f008c180addc21f5153 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 08 五月 2024 17:46:34 +0800 Subject: [PATCH] fix:禁用的人不能被查出来考试、题目去重 --- src/main/java/com/mindskip/xzs/repository/UserDepartmentMapper.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/repository/UserDepartmentMapper.java b/src/main/java/com/mindskip/xzs/repository/UserDepartmentMapper.java index 9c70b21..2b5b30e 100644 --- a/src/main/java/com/mindskip/xzs/repository/UserDepartmentMapper.java +++ b/src/main/java/com/mindskip/xzs/repository/UserDepartmentMapper.java @@ -1,13 +1,14 @@ package com.mindskip.xzs.repository; import com.mindskip.xzs.domain.UserDepartment; +import com.mindskip.xzs.domain.vo.BaseSelect; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper -public interface UserDepartmentMapper extends BaseMapper<UserDepartment>{ +public interface UserDepartmentMapper extends BaseMapper<UserDepartment> { List<UserDepartment> selectByUserId(@Param("userId") Integer userId); @@ -19,4 +20,6 @@ UserDepartment selectByUser(Integer id); void updateUserDepartMent(UserDepartment userDepartment); + + List<BaseSelect> getDeptUserList(Integer deptId); } -- Gitblit v1.8.0