xiangpei
2024-09-10 f8889f7364adae89e45a5ec3fcf4b38e430cf389
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();
}