疯狂的狮子li
2021-06-01 c90ca8c2a63edcacab53a5f3156a561c01439936
ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
@@ -1,7 +1,7 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.page.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -11,7 +11,7 @@
 *
 * @author ruoyi
 */
public interface SysDeptMapper extends BaseMapper<SysDept> {
public interface SysDeptMapper extends BaseMapperPlus<SysDept> {
    /**
     * 查询部门管理数据
@@ -30,4 +30,12 @@
     */
    public List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
   /**
    * 修改子元素关系
    *
    * @param depts 子元素
    * @return 结果
    */
   public int updateDeptChildren(@Param("depts") List<SysDept> depts);
}