package com.gz.mapper.system;

import com.gz.dto.system.ArchivesTreeDTO;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author LiuChangLan
 * @description 档案树Mapper
 * @since 2021/2/23 15:49
 */
public interface ArchivesTreeMapper extends Mapper<ArchivesTreeDTO> {
    ArchivesTreeDTO selectParentByCode(String code);

    List<ArchivesTreeDTO> selectAllByRole(Integer roleId);
}
