当前使用版本(必须填写清楚,否则不予处理)
3.3.1
该问题是怎么引起的?(最新版上已修复的会直接close掉)
/**
* 表名称包含指定前缀
*
* @param tableName 表名称
*/
public boolean containsTablePrefix(String tableName) {
if (null != tableName) {
String[] tps = getTablePrefix();
if (null != tps) {
return Arrays.stream(tps).anyMatch(tableName::contains);
}
}
return false;
}
com.baomidou.mybatisplus.generator.config.StrategyConfig 第205行:tableName::contains 应该为tableName::startsWith
重现步骤
...
报错信息
...