Browse Source

feat(gen): 添加 platform_code 字段支持

- 在 BO 对象的忽略字段列表中添加 platform_code
- 在 VO 对象的忽略字段列表中添加 platform_code
- 更新 Entity 基类字段数组,包含 platformCode 属性
hurx 14 hours ago
parent
commit
1e8e945b42

+ 4 - 4
ruoyi-modules/ruoyi-gen/src/main/java/org/dromara/gen/constant/GenConstants.java

@@ -69,19 +69,19 @@ public interface GenConstants {
      * BO对象 不需要添加字段
      * BO对象 不需要添加字段
      */
      */
     String[] COLUMNNAME_NOT_ADD = {"create_dept", "create_by", "create_time", "del_flag", "update_by",
     String[] COLUMNNAME_NOT_ADD = {"create_dept", "create_by", "create_time", "del_flag", "update_by",
-        "update_time", "version", "tenant_id"};
+        "update_time", "version", "tenant_id","platform_code"};
 
 
     /**
     /**
      * BO对象 不需要编辑字段
      * BO对象 不需要编辑字段
      */
      */
     String[] COLUMNNAME_NOT_EDIT = {"create_dept", "create_by", "create_time", "del_flag", "update_by",
     String[] COLUMNNAME_NOT_EDIT = {"create_dept", "create_by", "create_time", "del_flag", "update_by",
-        "update_time", "version", "tenant_id"};
+        "update_time", "version", "tenant_id","platform_code"};
 
 
     /**
     /**
      * VO对象 不需要返回字段
      * VO对象 不需要返回字段
      */
      */
     String[] COLUMNNAME_NOT_LIST = {"create_dept", "create_by", "create_time", "del_flag", "update_by",
     String[] COLUMNNAME_NOT_LIST = {"create_dept", "create_by", "create_time", "del_flag", "update_by",
-        "update_time", "version", "tenant_id"};
+        "update_time", "version", "tenant_id","platform_code"};
 
 
     /**
     /**
      * BO对象 不需要查询字段
      * BO对象 不需要查询字段
@@ -92,7 +92,7 @@ public interface GenConstants {
     /**
     /**
      * Entity基类字段
      * Entity基类字段
      */
      */
-    String[] BASE_ENTITY = {"createDept", "createBy", "createTime", "updateBy", "updateTime", "tenantId"};
+    String[] BASE_ENTITY = {"createDept", "createBy", "createTime", "updateBy", "updateTime", "tenantId", "platformCode"};
 
 
     /**
     /**
      * 文本框
      * 文本框