src/main/java/com/mindskip/xzs/repository/DepartmentMapper.java
@@ -1,6 +1,7 @@ package com.mindskip.xzs.repository; import com.mindskip.xzs.domain.Department; import com.mindskip.xzs.domain.vo.CascaderDataVO; import com.mindskip.xzs.viewmodel.admin.department.DepartmentResponseVM; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @@ -31,4 +32,11 @@ * @return */ Integer countByAdminId(@Param("userId") Integer userId, @Param("id") Integer id); /** * 所有部门 * * @return */ List<CascaderDataVO> list(); }