package com.elephant.framework.galaxy.aroad.module.indexES.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.elephant.framework.galaxy.aroad.module.indexES.entity.Baseindexdata;
import org.apache.ibatis.annotations.Param;

/**
 * elasticsearch索引表
 *
 * @author wangjian
 * @date 2019-05-14 10:24:55
 */
public interface BaseindexdataMapper extends BaseMapper<Baseindexdata> {
    /**
     * 根据表名查询最新数据
     * @param tableName
     * @return
     */
    Baseindexdata selectLatesByTableName(@Param("name") String tableName);
}
