package com.yssh.mapper; import java.util.Map; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @Mapper public interface CommonMapper{ /** * 使用information_schema检查表是否存在 * @param tableSchema * @param tableName * @return */ Integer checkTableExistsWithSchema(@Param("tableSchema")String tableSchema, @Param("tableName")String tableName); /** * 使用show tables检查表是否存在 * @param tableName * @return */ Map checkTableExistsWithShow(@Param("tableName")String tableName); }