xiangpei
2025-05-14 47cd9ecc0eff38ffe6b3b794b2bf197e958f4403
src/main/java/com/mindskip/xzs/service/DepartmentService.java
@@ -1,9 +1,7 @@
package com.mindskip.xzs.service;
import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.Department;
import com.mindskip.xzs.domain.vo.BaseSelect;
import com.mindskip.xzs.domain.vo.UpdateDeptAdminVO;
import com.mindskip.xzs.domain.vo.*;
import com.mindskip.xzs.viewmodel.admin.department.DepartmentResponseVM;
import java.util.List;
@@ -15,7 +13,7 @@
     * @param name
     * @return
     */
    Integer add(String name);
    Integer add(Department model);
    /**
     * 删除部门
@@ -35,9 +33,11 @@
     * 查询所有部门
     * @return
     */
    PageInfo<DepartmentResponseVM> gets(DepartmentResponseVM departmentResponseVM);
    List<DepartmentResponseVM> gets(DepartmentResponseVM departmentResponseVM);
    Department getById(Integer id);
    DepartmentEditVO getByIdVO(Integer id);
    List<Department> gets(List<Integer> deptId);
@@ -50,4 +50,11 @@
     * @param form
     */
    void updateAdmin(UpdateDeptAdminVO form);
    /**
     * 级联选择器数据
     *
     * @return
     */
    List<CascaderDataVO> cascader();
}