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 2022/03/15 09:54 */ public interface SystemPositionService { /** * 创建 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ Integer create(SystemPosition systemPosition); /** * 主键删除 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void deleteById(Integer id); /** * 批量主键删除 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void deleteByIdInBatch(List ids); /** * 主键更新 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void updateById(SystemPosition systemPosition); /** * 批量主键更新 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void updateByIdInBatch(List systemPositions); /** * 主键查询 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ SystemPosition findById(Integer id); /** * 根据ID集查询 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ List findByIds(List ids); /** * 条件查询单条记录 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ SystemPosition findOne(SystemPosition systemPosition); /** * 条件查询 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ List findList(SystemPosition systemPosition); /** * 查询管理列表 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ List findList(); /** * 查询用户岗位列表 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ List findByUserId(String userId); /** * 条件统计 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ long count(SystemPosition systemPosition); /** * 查询子岗位ID集 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ List findChildren(Integer positionId); }