From 2799314298467be9ed68d9e19891e35cb3c3edad Mon Sep 17 00:00:00 2001 From: zhangnaisong <2434969829@qq.com> Date: 星期四, 01 八月 2024 08:14:18 +0800 Subject: [PATCH] 电磁锁动作状态改为操控中...提交 --- ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java index 384a9b6..6aad0fe 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java @@ -1,6 +1,8 @@ package com.ruoyi.system.mapper; import java.util.List; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import com.ruoyi.common.core.domain.entity.SysDept; @@ -9,7 +11,7 @@ * * @author ruoyi */ -public interface SysDeptMapper +public interface SysDeptMapper extends BaseMapper<SysDept> { /** * 鏌ヨ閮ㄩ棬绠$悊鏁版嵁 @@ -18,7 +20,7 @@ * @return 閮ㄩ棬淇℃伅闆嗗悎 */ public List<SysDept> selectDeptList(SysDept dept); - + public List<SysDept> selectDeptListNoDataScope(SysDept dept); /** * 鏍规嵁瑙掕壊ID鏌ヨ閮ㄩ棬鏍戜俊鎭� * @@ -43,6 +45,13 @@ * @return 閮ㄩ棬鍒楄〃 */ public List<SysDept> selectChildrenDeptById(Long deptId); + /** + * 鏍规嵁ID鏌ヨ涓嬬骇瀛愰儴闂� + * + * @param deptId 閮ㄩ棬ID + * @return 閮ㄩ棬鍒楄〃 + */ + public List<SysDept> selectNextChildrenDeptById(Long deptId); /** * 鏍规嵁ID鏌ヨ鎵�鏈夊瓙閮ㄩ棬锛堟甯哥姸鎬侊級 @@ -115,4 +124,14 @@ * @return 缁撴灉 */ public int deleteDeptById(Long deptId); + + public List<Long> getChildrenDeptIdList(@Param("deptIdList")List<Long> deptIdList); + + public List<Long> selectDeptIdBySub(Long deptId); + + public List<Long> selectRoleDeptIdByUsersId(String usersId); + + public List<SysDept> getParentsDeptListByDeptId(Long deptId); + + public List<SysDept> selectNextChildrenDeptByIdAndInList(@Param("deptId")Long deptId,@Param("deptIdList")List<Long> deptIdList); } -- Gitblit v1.9.3