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