| | |
| | | package com.ruoyi.system.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.domain.PageQuery; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.system.domain.SysPost; |
| | | |
| | |
| | | * |
| | | * @author Lion Li |
| | | */ |
| | | public interface ISysPostService extends IService<SysPost> { |
| | | public interface ISysPostService { |
| | | |
| | | |
| | | TableDataInfo<SysPost> selectPagePostList(SysPost post); |
| | | TableDataInfo<SysPost> selectPagePostList(SysPost post, PageQuery pageQuery); |
| | | |
| | | /** |
| | | * 查询岗位信息集合 |
| | |
| | | * @param userId 用户ID |
| | | * @return 选中岗位ID列表 |
| | | */ |
| | | List<Integer> selectPostListByUserId(Long userId); |
| | | List<Long> selectPostListByUserId(Long userId); |
| | | |
| | | /** |
| | | * 校验岗位名称 |
| | |
| | | * |
| | | * @param postIds 需要删除的岗位ID |
| | | * @return 结果 |
| | | * @throws Exception 异常 |
| | | */ |
| | | int deletePostByIds(Long[] postIds); |
| | | |