| | |
| | | List<SysPostVo> selectPostList(SysPostBo post); |
| | | |
| | | /** |
| | | * 查询用户所属岗位组 |
| | | * |
| | | * @param userId 用户ID |
| | | * @return 岗位ID |
| | | */ |
| | | List<SysPostVo> selectPostsByUserId(Long userId); |
| | | |
| | | /** |
| | | * 查询所有岗位 |
| | | * |
| | | * @return 岗位列表 |
| | |
| | | * @return 选中岗位ID列表 |
| | | */ |
| | | List<Long> selectPostListByUserId(Long userId); |
| | | |
| | | /** |
| | | * 通过岗位ID串查询岗位 |
| | | * |
| | | * @param postIds 岗位id串 |
| | | * @return 岗位列表信息 |
| | | */ |
| | | List<SysPostVo> selectPostByIds(List<Long> postIds); |
| | | |
| | | /** |
| | | * 校验岗位名称 |
| | |
| | | long countUserPostById(Long postId); |
| | | |
| | | /** |
| | | * 通过部门ID查询岗位使用数量 |
| | | * |
| | | * @param deptId 部门id |
| | | * @return 结果 |
| | | */ |
| | | long countPostByDeptId(Long deptId); |
| | | |
| | | /** |
| | | * 删除岗位信息 |
| | | * |
| | | * @param postId 岗位ID |