qirong
2023-10-27 3e6b676e210e22e4b7b4183d908dbca880093b86
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.mindskip.xzs.repository;
 
import com.mindskip.xzs.domain.ExamPaper;
import com.mindskip.xzs.domain.UserDepartment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;
 
import java.util.List;
 
@Mapper
public interface UserDepartmentMapper extends BaseMapper<UserDepartment>{
 
    List<UserDepartment> selectByUserId(@Param("userId") Integer userId);
 
    List<UserDepartment> selectByDepartmentId(@Param("departmentId") Integer departmentId);
 
    Integer removeByUserId(@Param("userId") Integer userId);
    Integer removeByDepartmentId(@Param("departmentId") Integer departmentId);
}