From 93f6d4eaf1f476765370ba10b30e3d00c12581f6 Mon Sep 17 00:00:00 2001 From: hezhenhui Date: Fri, 13 May 2022 09:59:35 +0800 Subject: [PATCH] =?UTF-8?q?fixed=EF=BC=9ADO=E7=94=9F=E6=88=90=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=EF=BC=8C=E5=BD=93=E4=B8=BB=E9=94=AE=E6=98=AFString?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=EF=BC=8C=E6=A8=A1=E6=9D=BF=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/codegen/java/dal/do.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/dal/do.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/dal/do.vm index 238e3140d..5c22e388a 100644 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/dal/do.vm +++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/dal/do.vm @@ -30,7 +30,7 @@ public class ${table.className}DO extends BaseDO { #end */ #if (${column.primaryKey})##处理主键 - @TableId#if (${column.javaType} == 'String')type = IdType.INPUT)#end + @TableId#if (${column.javaType} == 'String')(type = IdType.INPUT)#end #end private ${column.javaType} ${column.javaField}; #end