diff --git a/mybatis-flex-codegen/src/main/resources/templates/enjoy/entityWithBase.tpl b/mybatis-flex-codegen/src/main/resources/templates/enjoy/entityWithBase.tpl index 08b0c535..544ae1c5 100644 --- a/mybatis-flex-codegen/src/main/resources/templates/enjoy/entityWithBase.tpl +++ b/mybatis-flex-codegen/src/main/resources/templates/enjoy/entityWithBase.tpl @@ -66,7 +66,6 @@ import java.io.Serial; #if(withSwagger && swaggerVersion.getName() == "DOC") @Schema(description = "#(table.getComment())") #end - #if(!isBase)#(table.buildTableAnnotation())#end public class #(entityClassName) extends #(baseClassName) { }