| | |
| | | import com.mindskip.xzs.domain.Department; |
| | | import com.mindskip.xzs.domain.vo.CascaderDataVO; |
| | | import com.mindskip.xzs.viewmodel.admin.department.DepartmentResponseVM; |
| | | import com.mindskip.xzs.viewmodel.admin.education.SubjectPageRequestVM; |
| | | import com.mindskip.xzs.vo.SubjectVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | |
| | | * @return |
| | | */ |
| | | List<CascaderDataVO> list(); |
| | | |
| | | /** |
| | | * 获取这些部门拥有的子部门 |
| | | * |
| | | * @param deptIds |
| | | * @return |
| | | */ |
| | | List<Integer> getChilds(@Param("deptIds") List<Integer> deptIds); |
| | | |
| | | /** |
| | | * 获取该部门的上级(不包含自己) |
| | | * |
| | | * @param deptId |
| | | * @return |
| | | */ |
| | | List<Integer> getFather(@Param("deptId") Integer deptId); |
| | | |
| | | /** |
| | | * 获取几级单位 |
| | | * |
| | | * @param level |
| | | * @return |
| | | */ |
| | | List<CascaderDataVO> getLevelDeptList(@Param("level") Integer level); |
| | | |
| | | /** |
| | | * 管理分页 |
| | | * |
| | | * @return |
| | | */ |
| | | List<SubjectVO> page1(@Param("query") SubjectPageRequestVM model); |
| | | } |