| | |
| | | package com.mindskip.xzs.repository; |
| | | |
| | | import com.mindskip.xzs.domain.ExamPaper; |
| | | import com.mindskip.xzs.domain.ExamPaperAnswer; |
| | | import com.mindskip.xzs.domain.other.KeyValue; |
| | | import com.mindskip.xzs.domain.User; |
| | | import com.mindskip.xzs.domain.vo.UserVO; |
| | | import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradeQuery; |
| | | import com.mindskip.xzs.viewmodel.admin.user.UserPageRequestVM; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | |
| | | |
| | | /** |
| | | * 修改部门管理员标识 |
| | | * @param id |
| | | * @param ids |
| | | * @param deptAdmin |
| | | */ |
| | | void updateDeptAdmin(Integer id, String deptAdmin); |
| | | void updateDeptAdmin(@Param("ids") List<Integer> ids, @Param("deptAdmin") String deptAdmin, @Param("deptId") Integer deptId); |
| | | |
| | | |
| | | List<ExamPaperAnswer> getUserByDept(@Param("query") ExamPaperGradeQuery query); |
| | | |
| | | void setStatus(UserVO user); |
| | | |
| | | /** |
| | | * 清除某部门的用户管理员标识 |
| | | * |
| | | * @param userIds |
| | | * @param deptId |
| | | */ |
| | | void clearDeptAdmin(List<Integer> userIds, @Param("deptId") Integer deptId); |
| | | |
| | | User getUserByExam(ExamPaper examPaper); |
| | | } |