package com.mindskip.xzs.service; import com.github.pagehelper.PageInfo; import com.mindskip.xzs.domain.Department; import com.mindskip.xzs.viewmodel.department.DepartmentResponseVM; import java.util.List; public interface DepartmentService extends BaseService{ /** * 添加部门 * @param name * @return */ Integer add(String name); /** * 删除部门 * @param id * @return */ Integer remove(Integer id); /** * 修改部门 * @param department * @return */ Integer update(Department department); /** * 查询所有部门 * @return */ PageInfo gets(DepartmentResponseVM departmentResponseVM); Department getById(Integer id); List gets(); }