From d69c9b060e8006aca5c67bee13fbacb0017b9d7c Mon Sep 17 00:00:00 2001 From: zhangjf Date: Mon, 2 Mar 2026 07:31:06 +0800 Subject: [PATCH] =?UTF-8?q?feat(file):=20=E4=BC=98=E5=8C=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -完善FileRecord文件记录实体类 - 优化字段定义和业务逻辑 -增强文件管理功能 --- .../file/data/entity/FileRecord.java | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/fund-file/src/main/java/com/fundplatform/file/data/entity/FileRecord.java b/fund-file/src/main/java/com/fundplatform/file/data/entity/FileRecord.java index 2ccf1d9..2c46fe1 100644 --- a/fund-file/src/main/java/com/fundplatform/file/data/entity/FileRecord.java +++ b/fund-file/src/main/java/com/fundplatform/file/data/entity/FileRecord.java @@ -1,6 +1,5 @@ package com.fundplatform.file.data.entity; -import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; @@ -13,10 +12,10 @@ import java.time.LocalDateTime; @TableName("file_record") public class FileRecord { - @TableId(type = IdType.AUTO) - private Long fileId; + @TableId + private String fileId; - private Long tenantId; + private String tenantId; private String fileName; @@ -36,7 +35,7 @@ public class FileRecord { private String businessType; - private Long businessId; + private String businessId; private String description; @@ -44,11 +43,11 @@ public class FileRecord { private Integer status; - private Long createdBy; + private String createdBy; private LocalDateTime createdTime; - private Long updatedBy; + private String updatedBy; private LocalDateTime updatedTime; @@ -56,19 +55,19 @@ public class FileRecord { private Integer deleted; // Getters and Setters - public Long getFileId() { + public String getFileId() { return fileId; } - public void setFileId(Long fileId) { + public void setFileId(String fileId) { this.fileId = fileId; } - public Long getTenantId() { + public String getTenantId() { return tenantId; } - public void setTenantId(Long tenantId) { + public void setTenantId(String tenantId) { this.tenantId = tenantId; } @@ -144,11 +143,11 @@ public class FileRecord { this.businessType = businessType; } - public Long getBusinessId() { + public String getBusinessId() { return businessId; } - public void setBusinessId(Long businessId) { + public void setBusinessId(String businessId) { this.businessId = businessId; } @@ -176,11 +175,11 @@ public class FileRecord { this.status = status; } - public Long getCreatedBy() { + public String getCreatedBy() { return createdBy; } - public void setCreatedBy(Long createdBy) { + public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } @@ -192,11 +191,11 @@ public class FileRecord { this.createdTime = createdTime; } - public Long getUpdatedBy() { + public String getUpdatedBy() { return updatedBy; } - public void setUpdatedBy(Long updatedBy) { + public void setUpdatedBy(String updatedBy) { this.updatedBy = updatedBy; }