疯狂的狮子Li
2025-01-20 3c8d864b5f68af5167199e0d5c9ff6c0c5852638
ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/service/ISysPostService.java
@@ -26,6 +26,14 @@
    List<SysPostVo> selectPostList(SysPostBo post);
    /**
     * 查询用户所属岗位组
     *
     * @param userId 用户ID
     * @return 岗位ID
     */
    List<SysPostVo> selectPostsByUserId(Long userId);
    /**
     * 查询所有岗位
     *
     * @return 岗位列表
@@ -47,6 +55,14 @@
     * @return 选中岗位ID列表
     */
    List<Long> selectPostListByUserId(Long userId);
    /**
     * 通过岗位ID串查询岗位
     *
     * @param postIds 岗位id串
     * @return 岗位列表信息
     */
    List<SysPostVo> selectPostByIds(List<Long> postIds);
    /**
     * 校验岗位名称
@@ -73,6 +89,14 @@
    long countUserPostById(Long postId);
    /**
     * 通过部门ID查询岗位使用数量
     *
     * @param deptId 部门id
     * @return 结果
     */
    long countPostByDeptId(Long deptId);
    /**
     * 删除岗位信息
     *
     * @param postId 岗位ID