From e3dad6708a414e5bfa300ac24a7bfd2107ae6665 Mon Sep 17 00:00:00 2001 From: Accado Date: Thu, 22 Feb 2024 00:52:33 +0000 Subject: [PATCH] =?UTF-8?q?entityOrBase.tpl=E4=B8=AD=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E5=8D=A0=E4=BD=8D=E7=AC=A6=E8=A2=AB=E6=9B=BF=E6=8D=A2=E5=90=8E?= =?UTF-8?q?,entity=E9=87=8C=E9=9D=A2=E5=A4=9A=E4=BA=86=E4=B8=80=E8=A1=8C?= =?UTF-8?q?=E7=A9=BA=E7=99=BD=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Accado --- .../src/main/resources/templates/enjoy/entityOrBase.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mybatis-flex-codegen/src/main/resources/templates/enjoy/entityOrBase.tpl b/mybatis-flex-codegen/src/main/resources/templates/enjoy/entityOrBase.tpl index 58ce9887..ba4c7b78 100644 --- a/mybatis-flex-codegen/src/main/resources/templates/enjoy/entityOrBase.tpl +++ b/mybatis-flex-codegen/src/main/resources/templates/enjoy/entityOrBase.tpl @@ -60,8 +60,7 @@ import java.io.Serial; #if(withSwagger && swaggerVersion.getName() == "DOC") @Schema(description = "#(table.getComment())") #end -#(table.buildTableAnnotation()) -#end +#(table.buildTableAnnotation()) #end public class #(entityClassName)#if(withActiveRecord) extends Model<#(entityClassName)>#else#(table.buildExtends())#(table.buildImplements())#end { #if(jdkVersion >= 14)