diff --git a/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/entity/Table.java b/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/entity/Table.java index ba5a5605..f1705a42 100644 --- a/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/entity/Table.java +++ b/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/entity/Table.java @@ -118,7 +118,8 @@ public class Table { public List buildImports() { Set imports = new HashSet<>(); - imports.add(com.mybatisflex.annotation.Table.class.getName()); +// imports.add(com.mybatisflex.annotation.Table.class.getName()); + imports.add("com.mybatisflex.annotation.Table"); for (Column column : columns) { imports.addAll(column.getImportClasses()); } diff --git a/mybatis-flex-core/pom.xml b/mybatis-flex-core/pom.xml index 994a447e..64cd28db 100644 --- a/mybatis-flex-core/pom.xml +++ b/mybatis-flex-core/pom.xml @@ -18,6 +18,13 @@ + + + com.mybatis-flex + mybatis-flex-annotation + 1.2.3 + + com.mybatis-flex mybatis-flex-processor diff --git a/mybatis-flex-processor/pom.xml b/mybatis-flex-processor/pom.xml index ec732ae0..5219bb9b 100644 --- a/mybatis-flex-processor/pom.xml +++ b/mybatis-flex-processor/pom.xml @@ -11,15 +11,18 @@ mybatis-flex-processor + org.mybatis mybatis + com.mybatis-flex mybatis-flex-annotation 1.2.3 +