Skip to content

Commit 37ded02

Browse files
author
hewei
committed
ExampleEnhancedPlugin:增加的内部类方法放的位置不合理,保持和官方一致
1 parent 37e3be5 commit 37ded02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/itfsw/mybatis/generator/plugins/ExampleEnhancedPlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public boolean modelExampleClassGenerated(TopLevelClass topLevelClass, Introspec
5252
addFactoryMethodToCriteria(topLevelClass, innerClass, introspectedTable);
5353
// andIf
5454
addAndIfMethodToCriteria(topLevelClass, innerClass, introspectedTable);
55+
} else if ("GeneratedCriteria".equals(innerClass.getType().getShortName())) {
5556
// column 方法
5657
if (this.enableColumnOperate) {
5758
addColumnMethodToCriteria(topLevelClass, innerClass, introspectedTable);

0 commit comments

Comments
 (0)