zxl
2025-06-24 3b0516a2959e25576e4f3fda697a3b025d06c8c9
ycl-server/src/main/java/com/ycl/system/mapper/SysDeptMapper.java
@@ -1,6 +1,7 @@
package com.ycl.system.mapper;
import com.ycl.platform.base.Cascader;
import com.ycl.platform.domain.vo.screen.DeptAreaVO;
import com.ycl.system.entity.SysDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@@ -134,4 +135,18 @@
     * @return
     */
    List<Long> selectParents(@Param("id") Long deptId);
    /**
     * 查询自己的父类部门ID
     *
     * @param deptId
     * @return
     */
    List<Long> selectByParentId(@Param("id") Long deptId);
    /**
     * 大屏地区
     * @return 地区
     */
    List<DeptAreaVO> dashboard();
}