whyczh
2021-05-12 2b37b4ce8e0d3d156468ff873de1ecaf15c25a27
1
2
3
4
5
6
7
8
9
10
11
12
package com.whyc.mapper;
 
import net.sf.jsqlparser.expression.JdbcNamedParameter;
import org.apache.ibatis.annotations.Select;
 
import java.util.List;
 
public interface CommonMapper {
 
    @Select("select TABLE_NAME FROM information_schema.TABLES where TABLE_SCHEMA= #{dBName} and TABLE_NAME like concat(#{tableLike},'%')")
    List<String> getTableName(String dBName, String tableLike);
}