疯狂的狮子li
2021-10-27 695cb6d76b838b1e4cb161bae335faa948dca12a
ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java
@@ -9,7 +9,7 @@
/**
 * 岗位信息 服务层
 *
 * @author ruoyi
 * @author Lion Li
 */
public interface ISysPostService extends IService<SysPost> {
@@ -22,14 +22,14 @@
     * @param post 岗位信息
     * @return 岗位列表
     */
    public List<SysPost> selectPostList(SysPost post);
    List<SysPost> selectPostList(SysPost post);
    /**
     * 查询所有岗位
     *
     * @return 岗位列表
     */
    public List<SysPost> selectPostAll();
    List<SysPost> selectPostAll();
    /**
     * 通过岗位ID查询岗位信息
@@ -37,7 +37,7 @@
     * @param postId 岗位ID
     * @return 角色对象信息
     */
    public SysPost selectPostById(Long postId);
    SysPost selectPostById(Long postId);
    /**
     * 根据用户ID获取岗位选择框列表
@@ -45,7 +45,7 @@
     * @param userId 用户ID
     * @return 选中岗位ID列表
     */
    public List<Integer> selectPostListByUserId(Long userId);
    List<Integer> selectPostListByUserId(Long userId);
    /**
     * 校验岗位名称
@@ -53,7 +53,7 @@
     * @param post 岗位信息
     * @return 结果
     */
    public String checkPostNameUnique(SysPost post);
    String checkPostNameUnique(SysPost post);
    /**
     * 校验岗位编码
@@ -61,7 +61,7 @@
     * @param post 岗位信息
     * @return 结果
     */
    public String checkPostCodeUnique(SysPost post);
    String checkPostCodeUnique(SysPost post);
    /**
     * 通过岗位ID查询岗位使用数量
@@ -69,7 +69,7 @@
     * @param postId 岗位ID
     * @return 结果
     */
    public long countUserPostById(Long postId);
    long countUserPostById(Long postId);
    /**
     * 删除岗位信息
@@ -77,7 +77,7 @@
     * @param postId 岗位ID
     * @return 结果
     */
    public int deletePostById(Long postId);
    int deletePostById(Long postId);
    /**
     * 批量删除岗位信息
@@ -86,7 +86,7 @@
     * @return 结果
     * @throws Exception 异常
     */
    public int deletePostByIds(Long[] postIds);
    int deletePostByIds(Long[] postIds);
    /**
     * 新增保存岗位信息
@@ -94,7 +94,7 @@
     * @param post 岗位信息
     * @return 结果
     */
    public int insertPost(SysPost post);
    int insertPost(SysPost post);
    /**
     * 修改保存岗位信息
@@ -102,5 +102,5 @@
     * @param post 岗位信息
     * @return 结果
     */
    public int updatePost(SysPost post);
    int updatePost(SysPost post);
}