package com.doumee.biz.system; 
 | 
  
 | 
import com.doumee.dao.system.model.SystemDepartment; 
 | 
import com.doumee.dao.system.vo.SystemDepartmentListVO; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * 部门管理业务处理 
 | 
 * @author Eva.Caesar Liu 
 | 
 * @date 2023/03/21 14:49 
 | 
 */ 
 | 
public interface SystemDepartmentBiz { 
 | 
  
 | 
    /** 
 | 
     * 新建 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2023/03/21 14:49 
 | 
     */ 
 | 
    Integer create(SystemDepartment department); 
 | 
  
 | 
    /** 
 | 
     * 编辑 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2023/03/21 14:49 
 | 
     */ 
 | 
    void updateById(SystemDepartment department); 
 | 
  
 | 
    /** 
 | 
     * 查询部门列表树 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2023/03/21 14:49 
 | 
     */ 
 | 
    List<SystemDepartmentListVO> findTree(); 
 | 
  
 | 
    /** 
 | 
     * 查询部门列表及部门下的人员 不查询子节点 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2023/03/21 14:49 
 | 
     */ 
 | 
    SystemDepartmentListVO findTreeUser(Integer parentId); 
 | 
  
 | 
    /** 
 | 
     * 删除 
 | 
     * @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<Integer> ids); 
 | 
} 
 |