package com.tuoheng.miniprogram.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tuoheng.miniprogram.entity.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author ChengWang
 * @Date 2022/11/21
 */
public interface DeptMapper extends BaseMapper<Dept> {

    List<String> selectAllChildListById(String id);

    List<String> getSondeptId(@Param("parentId") String id);

}
