package doumeemes.service.system; import doumeemes.dao.system.model.SystemPosition; import doumeemes.dao.system.vo.SystemPositionListVO; import java.util.List; /** * 岗位Service定义 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ public interface SystemPositionService { /** * 创建 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ Integer create(SystemPosition systemPosition); /** * 主键删除 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ void deleteById(Integer id); /** * 批量主键删除 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ void deleteByIdInBatch(List ids); /** * 主键更新 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ void updateById(SystemPosition systemPosition); /** * 批量主键更新 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ void updateByIdInBatch(List systemPositions); /** * 主键查询 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ SystemPosition findById(Integer id); /** * 根据ID集查询 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ List findByIds(List ids); /** * 条件查询单条记录 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ SystemPosition findOne(SystemPosition systemPosition); /** * 条件查询 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ List findList(SystemPosition systemPosition); /** * 查询管理列表 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ List findList(); /** * 查询用户岗位列表 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ List findByUserId(Integer userId); /** * 条件统计 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ long count(SystemPosition systemPosition); /** * 查询子岗位ID集 * @author Eva.Caesar Liu * @date 2022/04/18 18:12 */ List findChildren(Integer positionId); }