1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| package org.jeecg.modules.system.mapper;
|
| import java.util.List;
|
| import org.apache.ibatis.annotations.Param;
| import org.jeecg.modules.system.entity.SysDepartRole;
| import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
| /**
| * @Description: 部门角色
| * @Author: jeecg-boot
| * @Date: 2020-02-12
| * @Version: V1.0
| */
| public interface SysDepartRoleMapper extends BaseMapper<SysDepartRole> {
| /**
| * 根据用户id,部门id查询可授权所有部门角色
| * @param orgCode
| * @param userId
| * @return
| */
| public List<SysDepartRole> queryDeptRoleByDeptAndUser(@Param("orgCode") String orgCode, @Param("userId") String userId);
| }
|
|