| package doumeemes.biz.system; | 
|   | 
| import doumeemes.dao.system.model.SystemDepartment; | 
| import doumeemes.dao.system.vo.SystemDepartmentListVO; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * 部门管理业务处理 | 
|  * @author Eva.Caesar Liu | 
|  * @date 2022/04/18 18:12 | 
|  */ | 
| public interface SystemDepartmentBiz { | 
|   | 
|     /** | 
|      * 新建 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/04/18 18:12 | 
|      */ | 
|     Integer create(SystemDepartment department); | 
|   | 
|     /** | 
|      * 编辑 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/04/18 18:12 | 
|      */ | 
|     void updateById(SystemDepartment department); | 
|   | 
|     /** | 
|      * 查询部门列表树 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/04/18 18:12 | 
|      */ | 
|     List<SystemDepartmentListVO> findTree(); | 
|   | 
|     /** | 
|      * 删除 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/04/18 18:12 | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 批量删除 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/04/18 18:12 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
| } |