| | |
| | | package com.mindskip.xzs.service; |
| | | |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.mindskip.xzs.domain.Department; |
| | | import com.mindskip.xzs.domain.Question; |
| | | import com.mindskip.xzs.domain.vo.*; |
| | | import com.mindskip.xzs.viewmodel.admin.department.DepartmentResponseVM; |
| | | |
| | | import java.util.List; |
| | |
| | | * @param name |
| | | * @return |
| | | */ |
| | | Integer add(String name); |
| | | Integer add(Department model); |
| | | |
| | | /** |
| | | * 删除部门 |
| | |
| | | * 查询所有部门 |
| | | * @return |
| | | */ |
| | | PageInfo<Department> gets(DepartmentResponseVM departmentResponseVM); |
| | | List<DepartmentResponseVM> gets(DepartmentResponseVM departmentResponseVM); |
| | | |
| | | Department getById(Integer id); |
| | | |
| | | DepartmentEditVO getByIdVO(Integer id); |
| | | |
| | | List<Department> gets(List<Integer> deptId); |
| | | |
| | | Department getName(String name); |
| | | |
| | | List<BaseSelect> getDeptUserList(Integer deptId); |
| | | |
| | | /** |
| | | * 修改部门管理员 |
| | | * @param form |
| | | */ |
| | | void updateAdmin(UpdateDeptAdminVO form); |
| | | |
| | | /** |
| | | * 级联选择器数据 |
| | | * |
| | | * @return |
| | | */ |
| | | List<CascaderDataVO> cascader(); |
| | | } |