doum
2026-05-22 23b57fc7eab3defc741a0e54e3dac939ad49f13f
server/system_service/src/main/java/com/doumee/service/system/SystemDepartmentService.java
@@ -10,77 +10,77 @@
/**
 * Service定义
 * @author Eva.Caesar Liu
 * @author doumee
 * @date 2023/03/21 14:49
 */
public interface SystemDepartmentService {
    /**
     * 创建
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    Integer create(SystemDepartment systemDepartment);
    /**
     * 主键删除
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    void deleteById(Integer id);
    /**
     * 批量主键删除
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    void deleteByIdInBatch(List<Integer> ids);
    /**
     * 主键更新
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    void updateById(SystemDepartment systemDepartment);
    /**
     * 批量主键更新
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    void updateByIdInBatch(List<SystemDepartment> systemDepartments);
    /**
     * 主键查询
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    SystemDepartment findById(Integer id);
    /**
     * 根据ID集查询
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    List<SystemDepartment> findByIds(List<Integer> ids);
    /**
     * 条件查询单条记录
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    SystemDepartment findOne(SystemDepartment systemDepartment);
    /**
     * 条件查询单条记录
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    SystemDepartment findOne(Wrapper<SystemDepartment> wrapper);
    /**
     * 条件查询
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    List<SystemDepartmentListVO> findList(QuerySystemDepartmentDTO dto);
@@ -94,14 +94,14 @@
    /**
     * 条件统计
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    long count(SystemDepartment systemDepartment);
    /**
     * 获取子孙部门ID集
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    List<Integer> findChildren(Integer departmentId);