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/DocumentMaterials.java |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
index d54657d..b31ee13 100644
--- a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
+++ b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
@@ -5,6 +5,7 @@
 import java.util.Date;
 
 import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import com.ruoyi.common.annotation.NumberFormatHandler;
@@ -27,11 +28,11 @@
     /** $column.columnComment */
     @TableId(type = IdType.AUTO)
     private Long materialId;
-    @Excel(name = "鏂囦欢鏉愭枡搴忓彿", handler = NumberFormatHandler.class)
+    @Excel(name = "鏂囦欢鏉愭枡搴忓彿", handler = NumberFormatHandler.class, headerColor = IndexedColors.BLACK)
     private Long fileNumber;
 
 
-    @Excel(name = "鏂囦欢缂栧彿")
+    @Excel(name = "鏂囦欢缂栧彿", headerColor = IndexedColors.BLACK)
     private String documentNumber;
 
 
@@ -45,7 +46,7 @@
     }
 
     /** $column.columnComment */
-    @Excel(name = "缂栦换鑰�", headerColor = IndexedColors.BLACK)
+    @Excel(name = "璐d换鑰�", headerColor = IndexedColors.BLACK)
     private String creator;
 
     /** $column.columnComment */
@@ -58,9 +59,20 @@
     private Date date;
 
     /** $column.columnComment */
-    @Excel(name = "椤靛彿", handler = NumberFormatHandler.class, headerColor = IndexedColors.BLACK)
+   // @Excel(name = "椤靛彿", handler = NumberFormatHandler.class, headerColor = IndexedColors.BLACK)
     private Long pageNumber;
 
+    public String getPageNumberFormatted() {
+        return pageNumberFormatted;
+    }
+
+    public void setPageNumberFormatted(String pageNumberFormatted) {
+        this.pageNumberFormatted = pageNumberFormatted;
+    }
+
+    @TableField(exist = false)
+    @Excel(name = "椤靛彿", height = 10,width = 10,headerColor = IndexedColors.RED, headerBackgroundColor = IndexedColors.WHITE)
+    private String pageNumberFormatted;
     /** $column.columnComment */
     @Excel(name = "椤垫", headerColor = IndexedColors.BLACK)
     private Long pageOrder;

--
Gitblit v1.9.1