From 0d46d345b145900c8c305447e1980c9f403ebd0c Mon Sep 17 00:00:00 2001 From: Tom Li Date: Mon, 17 Nov 2025 10:03:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E6=9D=BF=EF=BC=8C?= =?UTF-8?q?=E5=8C=85=E5=90=ABstatic=E5=AD=97=E6=AE=B5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/resources/templates/api-fast/entity.java.btl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/blade-ops/blade-develop/src/test/resources/templates/api-fast/entity.java.btl b/blade-ops/blade-develop/src/test/resources/templates/api-fast/entity.java.btl index 1f394ce..33d44ba 100644 --- a/blade-ops/blade-develop/src/test/resources/templates/api-fast/entity.java.btl +++ b/blade-ops/blade-develop/src/test/resources/templates/api-fast/entity.java.btl @@ -55,6 +55,13 @@ public class ${entityKey!} implements Serializable { private Long id; #} +#for(x in table.fields) { + /** + * ${x.comment!} + */ + public static final String COL_${x.columnName!} = "${x.columnName!}"; +#} + #for(x in table.fields) { #if(hasSuperEntity){ #if(x.propertyName!="id"&&x.propertyName!="createUser"&&x.propertyName!="createDept"&&x.propertyName!="createTime"&&x.propertyName!="updateUser"&&x.propertyName!="updateTime"&&x.propertyName!="status"&&x.propertyName!="isDeleted"&&x.propertyName!="tenantId"){