From 436b955086030caec4513022c1f5127470ad2b14 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期日, 28 十二月 2025 20:54:21 +0800
Subject: [PATCH] 修改了对应代码

---
 archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 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..c30de29 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,11 @@
     private Date date;
 
     /** $column.columnComment */
-    @Excel(name = "椤靛彿", handler = NumberFormatHandler.class, headerColor = IndexedColors.BLACK)
+   // @Excel(name = "椤靛彿", handler = NumberFormatHandler.class, headerColor = IndexedColors.BLACK)
     private Long pageNumber;
-
+    @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