From e899d2709f21b322232fb64778fef296233be3f0 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期一, 25 八月 2025 14:39:41 +0800
Subject: [PATCH] 修改了代码

---
 archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java |   42 ++++++++++++++++++++++++++++++++++--------
 1 files changed, 34 insertions(+), 8 deletions(-)

diff --git a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
index 5206ff0..0585726 100644
--- a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
+++ b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
@@ -25,17 +25,28 @@
     /** $column.columnComment */
     @TableId(type = IdType.AUTO)
     private Long materialId;
+    @Excel(name = "鏂囦欢鏉愭枡搴忓彿")
+    private Long fileNumber;
+
+    public Long getFileNumber() {
+        return fileNumber;
+    }
+
+    public void setFileNumber(Long fileNumber) {
+        this.fileNumber = fileNumber;
+    }
 
     /** $column.columnComment */
-    @Excel(name = "鏂囦欢缂栦换鑰�")
+    @Excel(name = "缂栦换鑰�")
     private String creator;
 
     /** $column.columnComment */
-    @Excel(name = "鏂囦欢鎻愬悕")
+    @Excel(name = "鏂囦欢棰樺悕")
     private String title;
 
     /** $column.columnComment */
-    @Excel(name = "鏃ユ湡")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd")
     private Date date;
 
     /** $column.columnComment */
@@ -104,7 +115,7 @@
 
     /** $column.columnComment */
     @Excel(name = "澶у皬")
-    private Long fileSize;
+    private Double fileSize;
 
     /** $column.columnComment */
     @Excel(name = "闄勪欢鍙婂巻鍙插彂鏂囧彿")
@@ -115,15 +126,30 @@
     private String remarks;
 
     /** $column.columnComment */
-    @Excel(name = "${comment}")
     private Date createdAt;
 
     /** $column.columnComment */
-    @Excel(name = "${comment}")
     private Date updatedAt;
+    private String fileStyle;
 
+    public String getUrl() {
+        return url;
+    }
 
+    public void setUrl(String url) {
+        this.url = url;
+    }
+
+    private String url;
     private Long recordId;
+
+    public String getFileStyle() {
+        return fileStyle;
+    }
+
+    public void setFileStyle(String fileStyle) {
+        this.fileStyle = fileStyle;
+    }
 
     public Long getRecordId() {
         return recordId;
@@ -333,12 +359,12 @@
         return height;
     }
 
-    public void setFileSize(Long fileSize)
+    public void setFileSize(Double fileSize)
     {
         this.fileSize = fileSize;
     }
 
-    public Long getFileSize()
+    public Double getFileSize()
     {
         return fileSize;
     }

--
Gitblit v1.9.1