From 275e21dad508e859fb7ca80335f0e3b8e9730b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=8C=AF=E8=B6=85?= Date: Mon, 16 Jun 2025 06:24:48 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9F=BA=E7=B1=BB?= =?UTF-8?q?=E7=9A=84=E5=B1=9E=E6=80=A7=E8=AE=BF=E9=97=AE=E4=BF=AE=E9=A5=B0?= =?UTF-8?q?=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 唐振超 --- .../common/mybatis/core/domain/BaseEntity.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/domain/BaseEntity.java b/ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/domain/BaseEntity.java index 13a794162..e7de1eb49 100644 --- a/ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/domain/BaseEntity.java +++ b/ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/domain/BaseEntity.java @@ -28,43 +28,43 @@ public class BaseEntity implements Serializable { */ @JsonIgnore @TableField(exist = false) - private String searchValue; + protected String searchValue; /** * 创建部门 */ @TableField(fill = FieldFill.INSERT) - private Long createDept; + protected Long createDept; /** * 创建者 */ @TableField(fill = FieldFill.INSERT) - private Long createBy; + protected Long createBy; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) - private Date createTime; + protected Date createTime; /** * 更新者 */ @TableField(fill = FieldFill.INSERT_UPDATE) - private Long updateBy; + protected Long updateBy; /** * 更新时间 */ @TableField(fill = FieldFill.INSERT_UPDATE) - private Date updateTime; + protected Date updateTime; /** * 请求参数 */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @TableField(exist = false) - private Map params = new HashMap<>(); + protected Map params = new HashMap<>(); } From 89810681aadb776ab07d77bb8f29a24cf7f655ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=8C=AF=E8=B6=85?= Date: Mon, 16 Jun 2025 06:25:21 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9F=BA=E7=B1=BB?= =?UTF-8?q?=E7=9A=84=E5=B1=9E=E6=80=A7=E8=AE=BF=E9=97=AE=E4=BF=AE=E9=A5=B0?= =?UTF-8?q?=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 唐振超 --- .../main/java/org/dromara/common/tenant/core/TenantEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-common/ruoyi-common-tenant/src/main/java/org/dromara/common/tenant/core/TenantEntity.java b/ruoyi-common/ruoyi-common-tenant/src/main/java/org/dromara/common/tenant/core/TenantEntity.java index 8ad0d2ccc..455f4b17f 100644 --- a/ruoyi-common/ruoyi-common-tenant/src/main/java/org/dromara/common/tenant/core/TenantEntity.java +++ b/ruoyi-common/ruoyi-common-tenant/src/main/java/org/dromara/common/tenant/core/TenantEntity.java @@ -16,6 +16,6 @@ public class TenantEntity extends BaseEntity { /** * 租户编号 */ - private String tenantId; + protected String tenantId; }