doum
2026-05-26 f4d592f3626f94117d8a4eb22176a28290931980
server/system_service/src/main/java/com/doumee/biz/system/SystemDepartmentBiz.java
@@ -8,49 +8,49 @@
/**
 * 部门管理业务处理
 * @author Eva.Caesar Liu
 * @author doumee
 * @date 2023/03/21 14:49
 */
public interface SystemDepartmentBiz {
    /**
     * 新建
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    Integer create(SystemDepartment department);
    /**
     * 编辑
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    void updateById(SystemDepartment department);
    /**
     * 查询部门列表树
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    List<SystemDepartmentListVO> findTree();
    /**
     * 查询部门列表及部门下的人员 不查询子节点
     * @author Eva.Caesar Liu
     * @author doumee
     * @date 2023/03/21 14:49
     */
    SystemDepartmentListVO findTreeUser(Integer parentId);
    /**
     * 删除
     * @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);