From 359f1d48b1d859a23cd35a425d2cffb1e9d1c811 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期五, 26 十二月 2025 19:58:59 +0800
Subject: [PATCH] 修改了对应代码
---
archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java | 61 ++++++++++++++++++------------
1 files changed, 36 insertions(+), 25 deletions(-)
diff --git a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
index 964ea0c..002ce80 100644
--- a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
+++ b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
@@ -12,9 +12,10 @@
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
+import org.apache.poi.ss.usermodel.IndexedColors;
/**
- * 銆愯濉啓鍔熻兘鍚嶇О銆戝璞� document_materials
+ * 銆愭枃浠舵潗鏂欑患鍚堜俊鎭�戝璞� document_materials
*
* @author ruoyi
* @date 2025-07-26
@@ -26,11 +27,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;
@@ -44,36 +45,37 @@
}
/** $column.columnComment */
- @Excel(name = "缂栦换鑰�")
+ @Excel(name = "缂栦换鑰�", headerColor = IndexedColors.BLACK)
private String creator;
/** $column.columnComment */
- @Excel(name = "鏂囦欢棰樺悕")
+ @Excel(name = "鏂囦欢棰樺悕", headerColor = IndexedColors.BLACK)
private String title;
/** $column.columnComment */
@JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd")
+ @Excel(name = "鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd", headerColor = IndexedColors.BLACK)
private Date date;
/** $column.columnComment */
- @Excel(name = "椤靛彿", handler = NumberFormatHandler.class)
+ // @Excel(name = "椤靛彿", handler = NumberFormatHandler.class, headerColor = IndexedColors.BLACK)
private Long pageNumber;
-
+ @Excel(name = "椤靛彿", height = 10,width = 10,headerColor = IndexedColors.RED, headerBackgroundColor = IndexedColors.WHITE)
+ private String pageNumberFormatted;
/** $column.columnComment */
- @Excel(name = "椤垫")
+ @Excel(name = "椤垫", headerColor = IndexedColors.BLACK)
private Long pageOrder;
/** $column.columnComment */
- @Excel(name = "鎵�澶勯樁娈�")
+ @Excel(name = "鎵�澶勯樁娈�", headerColor = IndexedColors.BLACK)
private String stage;
/** $column.columnComment */
- @Excel(name = "鍏紑灞炴��")
+ @Excel(name = "鍏紑灞炴��", headerColor = IndexedColors.BLACK)
private String publicity;
/** $column.columnComment */
- @Excel(name = "鏄惁涓洪檮浠堕檮鍥�")
+ @Excel(name = "鏄惁涓洪檮浠堕檮鍥�", headerColor = IndexedColors.BLACK)
private String isAttachment;
/** $column.columnComment */
@@ -81,60 +83,69 @@
private String isDiagram;
/** $column.columnComment */
- @Excel(name = "淇濈鏈熼檺")
+ @Excel(name = "淇濈鏈熼檺", headerColor = IndexedColors.BLACK)
private String retentionPeriod;
/** $column.columnComment */
- @Excel(name = "瀵嗙骇")
+ @Excel(name = "瀵嗙骇", headerColor = IndexedColors.BLACK)
private String securityLevel;
/** $column.columnComment */
- @Excel(name = "鏄惁娑夊瘑鍙婃晱鎰熶俊鎭�")
+ @Excel(name = "鏄惁娑夊瘑鍙婃晱鎰熶俊鎭�", headerColor = IndexedColors.BLACK)
private String isSensitive;
/** $column.columnComment */
- @Excel(name = "鏄惁娉ㄩ攢")
+ @Excel(name = "鏄惁娉ㄩ攢", headerColor = IndexedColors.BLACK)
private String isCanceled;
/** $column.columnComment */
- @Excel(name = "鏍煎紡")
+ @Excel(name = "鏍煎紡", headerColor = IndexedColors.BLACK)
private String format;
/** $column.columnComment */
- @Excel(name = "骞呴潰")
+ @Excel(name = "骞呴潰", headerColor = IndexedColors.BLACK)
private String sizeType;
/** $column.columnComment */
- @Excel(name = "姘村钩鍒嗚鲸鐜�")
+ @Excel(name = "姘村钩鍒嗚鲸鐜�", headerColor = IndexedColors.BLACK)
private Long horizontalResolution;
/** $column.columnComment */
- @Excel(name = "鍨傜洿鍒嗚鲸鐜�")
+ @Excel(name = "鍨傜洿鍒嗚鲸鐜�", headerColor = IndexedColors.BLACK)
private Long verticalResolution;
/** $column.columnComment */
- @Excel(name = "瀹藉害")
+ @Excel(name = "瀹藉害", headerColor = IndexedColors.BLACK)
private Long width;
/** $column.columnComment */
- @Excel(name = "楂樺害")
+ @Excel(name = "楂樺害", headerColor = IndexedColors.BLACK)
private Long height;
/** $column.columnComment */
- @Excel(name = "澶у皬")
+ @Excel(name = "澶у皬", headerColor = IndexedColors.BLACK)
private Double fileSize;
/** $column.columnComment */
- @Excel(name = "闄勪欢鍙婂巻鍙插彂鏂囧彿")
+ @Excel(name = "闄勪欢鍙婂巻鍙插彂鏂囧彿", headerColor = IndexedColors.BLACK)
private String attachmentHistoryNumbers;
/** $column.columnComment */
- @Excel(name = "澶囨敞")
+ @Excel(name = "澶囨敞", headerColor = IndexedColors.BLACK)
private String remarks;
/** $column.columnComment */
private Date createdAt;
+ public Integer getVisible() {
+ return visible;
+ }
+
+ public void setVisible(Integer visible) {
+ this.visible = visible;
+ }
+
+ private Integer visible;
/** $column.columnComment */
private Date updatedAt;
private String fileStyle;
--
Gitblit v1.9.1