mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
This commit is contained in:
parent
2137bc0fb2
commit
252e176637
@ -162,7 +162,11 @@ public class MybatisFlexProcessor extends AbstractProcessor {
|
||||
|
||||
// 处理 entity 后缀
|
||||
for (String entityIgnoreSuffix : tableDefIgnoreEntitySuffixes) {
|
||||
if (entityClassName.endsWith(entityIgnoreSuffix.trim())) {
|
||||
entityIgnoreSuffix = entityIgnoreSuffix.trim();
|
||||
if (entityIgnoreSuffix.isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
if (entityClassName.endsWith(entityIgnoreSuffix)) {
|
||||
entityClassName = entityClassName.substring(0, entityClassName.length() - entityIgnoreSuffix.length());
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user