From 5de5db24efe1b25896c37f395124a207584bcb38 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期四, 01 一月 2026 21:25:54 +0800
Subject: [PATCH] 修改了对应代码

---
 archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoSmall.java |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoSmall.java b/archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoSmall.java
index 77524fe..031daa8 100644
--- a/archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoSmall.java
+++ b/archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoSmall.java
@@ -3,6 +3,7 @@
 import com.fasterxml.jackson.annotation.JsonFormat;
 import com.ruoyi.common.annotation.Excel;
 import lombok.Data;
+import org.apache.poi.ss.usermodel.IndexedColors;
 
 import java.util.Date;
 
@@ -10,36 +11,40 @@
 public class DocumentMaterialsVoSmall {
 
 
-    @Excel(name="搴忓彿")
+    @Excel(name="搴忓彿",width = 4.86, headerFontSize=12, headerColor = IndexedColors.BLACK, headerFontBold = true)
     private Long num;
-    @Excel(name = "鏂囦欢缂栧彿")
+    @Excel(name = "鏂囦欢缂栧彿",width = 10,  headerFontSize=12,headerColor = IndexedColors.BLACK, headerFontBold = true)
     private String documentNumber;
-    @Excel(name = "缂栦换鑰�")
+    @Excel(name = "璐d换鑰�",width = 10.67,  headerFontSize=12,headerColor = IndexedColors.BLACK, headerFontBold = true)
     private String creator;
-    @Excel(name = "鏂囦欢棰樺悕")
+    @Excel(name = "鏂囦欢棰樺悕",width = 36.29,  headerFontSize=12,headerColor = IndexedColors.BLACK, headerFontBold = true)
 
     private String title;
 
     @JsonFormat(pattern = "yyyy-MM-dd")
 
-    @Excel(name = "鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd")
+    @Excel(name = "鏃ユ湡", width = 11.57,  headerFontSize=12,dateFormat = "yyyy-MM-dd", headerColor = IndexedColors.BLACK, headerFontBold = true)
 
     private Date date;
-    @Excel(name = "椤靛彿")
-
+    @Excel(name = "椤靛彿",width = 10.14, headerFontSize=12, headerColor = IndexedColors.BLACK, headerFontBold = true)
+    private String pageNumberFormatted;
     private Long pageNumber;
-    @Excel(name = "澶囨敞")
+    @Excel(name = "澶囨敞",width = 10.14,  headerFontSize=12,headerColor = IndexedColors.BLACK, headerFontBold = true)
     private String remarks;
 
-    public DocumentMaterialsVoSmall(Long num, String documentNumber, String creator, String title, Date date, Long pageNumber, String remarks) {
+    public DocumentMaterialsVoSmall(Long num, String documentNumber, String creator, String title, Date date, String pageNumberFormatted, String remarks) {
         this.num = num;
         this.documentNumber = documentNumber;
         this.creator = creator;
         this.title = title;
         this.date = date;
-        this.pageNumber = pageNumber;
+       this.pageNumberFormatted = pageNumberFormatted;
         this.remarks = remarks;
     }
+
+    public DocumentMaterialsVoSmall() {
+
+    }
 //    public DocumentMaterialsVoSmall(Long num, String documentNumber, String creator, String title, Date date, Long pageNumber, String remarks) {
 //        this.num = num;
 //        this.documentNumber = documentNumber;

--
Gitblit v1.9.1