From 2d59c3e55978bd93741dae7a8ff21cf63b9ecf25 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期三, 14 一月 2026 21:16:57 +0800
Subject: [PATCH] 修改了对应代码

---
 archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java |   22 ++++++++++++++++++----
 1 files changed, 18 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..6cc7119 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;
@@ -147,6 +159,8 @@
     private Integer visible;
     /** $column.columnComment */
     private Date updatedAt;
+    @Excel(name = "鏂囦欢绫诲瀷", headerColor = IndexedColors.BLACK)
+
     private String fileStyle;
 
     public String getUrl() {

--
Gitblit v1.9.1