package com.friday.custody.dao;

import com.friday.custody.entity.TablePermissionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author lyb
 * @email k0051582@gmail.com
 * @date 2022-01-10 17:25:17
 */
@Mapper
public interface TablePermissionDao extends BaseMapper<TablePermissionEntity> {

    @MapKey("id")
    List<Map<String,String>> getDataBySql(@Param("sql") String sql);

}
