zouyu
2026-01-16 f605b84620bf35bb02a2ee5ef2086c164b520e67
src/main/java/com/ruoyi/project/system/mapper/SysDeptMapper.java
@@ -1,6 +1,8 @@
package com.ruoyi.project.system.mapper;
import java.util.List;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.project.system.domain.SysDept;
@@ -83,6 +85,7 @@
     * @param dept 部门信息
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int insertDept(SysDept dept);
    /**
@@ -91,6 +94,7 @@
     * @param dept 部门信息
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int updateDept(SysDept dept);
    /**
@@ -98,6 +102,7 @@
     * 
     * @param deptIds 部门ID组
     */
    @InterceptorIgnore(tenantLine = "true")
    public void updateDeptStatusNormal(Long[] deptIds);
    /**
@@ -106,6 +111,7 @@
     * @param depts 子元素
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int updateDeptChildren(@Param("depts") List<SysDept> depts);
    /**
@@ -114,6 +120,7 @@
     * @param deptId 部门ID
     * @return 结果
     */
    @InterceptorIgnore(tenantLine = "true")
    public int deleteDeptById(Long deptId);
    /**
@@ -122,4 +129,6 @@
     * @return
     */
    Long maxLevelDeptId(Long deptId);
    SysDept selectDeptByDeptName(@Param("deptName") String deptName);
}