修改模板,包含static字段。

develop-QA
Tom Li 4 weeks ago
parent b2285b8a1d
commit 0d46d345b1
  1. 7
      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"){

Loading…
Cancel
Save