| 1234567891011121314151617181920212223242526272829303132 |
- package com.ruoyi.system.mapper;
- import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
- import com.ruoyi.system.domain.SysPost;
- import com.ruoyi.system.domain.vo.SysPostVo;
- import java.util.List;
- /**
- * 岗位信息 数据层
- *
- * @author Lion Li
- */
- public interface SysPostMapper extends BaseMapperPlus<SysPost, SysPostVo> {
- /**
- * 根据用户ID获取岗位选择框列表
- *
- * @param userId 用户ID
- * @return 选中岗位ID列表
- */
- List<Long> selectPostListByUserId(Long userId);
- /**
- * 查询用户所属岗位组
- *
- * @param userName 用户名
- * @return 结果
- */
- List<SysPostVo> selectPostsByUserName(String userName);
- }
|