From 29d3490e983cadd2b2107486214488e382a72fcc Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期日, 14 十二月 2025 22:21:33 +0800
Subject: [PATCH] 修改了对应代码
---
archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoLarge.java | 51 ++++++++++++++++++++++++++-------------------------
1 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoLarge.java b/archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoLarge.java
index 594b4cd..f0a07d1 100644
--- a/archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoLarge.java
+++ b/archiveManager/src/main/java/com/ruoyi/domain/vo/DocumentMaterialsVoLarge.java
@@ -4,6 +4,7 @@
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.NumberFormatHandler;
import lombok.Data;
+import org.apache.poi.ss.usermodel.IndexedColors;
import java.util.Date;
@@ -217,49 +218,49 @@
this.title = title;
}
- @Excel(name="搴忓彿")
+ @Excel(name="搴忓彿", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE)
private int num;
- @Excel(name="妗e彿")
+ @Excel(name="妗e彿",headerColor = IndexedColors.RED,width = 15, headerBackgroundColor = IndexedColors.WHITE)
private String recordId;
- @Excel(name = "鏂囦欢鏉愭枡搴忓彿", handler = NumberFormatHandler.class)
+ @Excel(name = "鏂囦欢鏉愭枡搴忓彿", width=10,headerColor = IndexedColors.RED,handler = NumberFormatHandler.class, headerBackgroundColor = IndexedColors.WHITE)
private Long fileNumber;
- @Excel(name = "鏂囦欢缂栧彿")
+ @Excel(name = "鏂囦欢缂栧彿",width=9,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE)
private String documentNumber;
/** $column.columnComment */
- @Excel(name = "缂栦换鑰�")
+ @Excel(name = "璐d换鑰�",width=8,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE)
private String creator;
/** $column.columnComment */
- @Excel(name = "鏂囦欢棰樺悕")
+ @Excel(name = "鏂囦欢棰樺悕",headerColor = IndexedColors.RED, headerBackgroundColor = IndexedColors.WHITE)
private String title;
/** $column.columnComment */
@JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd")
+ @Excel(name = "鏃ユ湡", width = 10, headerColor = IndexedColors.BLACK,dateFormat = "yyyy-MM-dd", headerBackgroundColor = IndexedColors.WHITE)
private Date date;
/** $column.columnComment */
- @Excel(name = "椤靛彿", handler = NumberFormatHandler.class)
+ @Excel(name = "椤靛彿", width = 10,headerColor = IndexedColors.RED,handler = NumberFormatHandler.class, headerBackgroundColor = IndexedColors.WHITE)
private Long pageNumber;
/** $column.columnComment */
- @Excel(name = "椤垫")
+ @Excel(name = "椤垫", width = 10,headerColor = IndexedColors.RED, headerBackgroundColor = IndexedColors.WHITE)
private Long pageOrder;
/** $column.columnComment */
- @Excel(name = "鎵�澶勯樁娈�")
+ @Excel(name = "鎵�澶勯樁娈�", width = 10,headerColor = IndexedColors.RED, headerBackgroundColor = IndexedColors.WHITE)
private String stage;
/** $column.columnComment */
- @Excel(name = "鍏紑灞炴��")
+ @Excel(name = "鍏紑灞炴��", width = 10,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE)
private String publicity;
/** $column.columnComment */
- @Excel(name = "鏄惁涓洪檮浠堕檮鍥�")
+ @Excel(name = "鏄惁涓洪檮浠堕檮鍥�", width = 10,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE)
private String isAttachment;
/** $column.columnComment */
@@ -267,55 +268,55 @@
private String isDiagram;
/** $column.columnComment */
- @Excel(name = "淇濈鏈熼檺")
+ @Excel(name = "淇濈鏈熼檺", width = 10,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE)
private String retentionPeriod;
/** $column.columnComment */
- @Excel(name = "瀵嗙骇", readConverterExp = "璇ラ〉鍙﹀瓨=鏅��,鏅��=鏅��,鍐呴儴鐢ㄥ浘=鍐呴儴鐢ㄥ浘,鍐呴儴鐢ㄩ��=鍐呴儴鐢ㄩ��,绉樺瘑=绉樺瘑")
+ @Excel(name = "瀵嗙骇", width = 10,headerColor = IndexedColors.BLACK,readConverterExp = "璇ラ〉鍙﹀瓨=鏅��,鏅��=鏅��,鍐呴儴鐢ㄥ浘=鍐呴儴鐢ㄥ浘,鍐呴儴鐢ㄩ��=鍐呴儴鐢ㄩ��,绉樺瘑=绉樺瘑", headerBackgroundColor = IndexedColors.WHITE)
private String securityLevel;
/** $column.columnComment */
- @Excel(name = "鏄惁娑夊瘑鍙婃晱鎰熶俊鎭�")
+ @Excel(name = "鏄惁娑夊瘑鍙婃晱鎰熶俊鎭�",headerColor = IndexedColors.BLACK, width = 10, headerBackgroundColor = IndexedColors.WHITE)
private String isSensitive;
/** $column.columnComment */
- @Excel(name = "鏄惁娉ㄩ攢")
+ @Excel(name = "鏄惁娉ㄩ攢" ,headerColor = IndexedColors.BLACK,width = 10, headerBackgroundColor = IndexedColors.WHITE)
private String isCanceled;
/** $column.columnComment */
- @Excel(name = "鏍煎紡")
+ @Excel(name = "鏍煎紡",headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE)
private String format;
/** $column.columnComment */
- @Excel(name = "骞呴潰")
+ @Excel(name = "骞呴潰", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE)
private String sizeType;
/** $column.columnComment */
- @Excel(name = "姘村钩鍒嗚鲸鐜�")
+ @Excel(name = "姘村钩鍒嗚鲸鐜�",headerColor = IndexedColors.RED, width = 10, headerBackgroundColor = IndexedColors.WHITE)
private Long horizontalResolution;
/** $column.columnComment */
- @Excel(name = "鍨傜洿鍒嗚鲸鐜�")
+ @Excel(name = "鍨傜洿鍒嗚鲸鐜�",headerColor = IndexedColors.RED, width = 10, headerBackgroundColor = IndexedColors.WHITE)
private Long verticalResolution;
/** $column.columnComment */
- @Excel(name = "瀹藉害")
+ @Excel(name = "瀹藉害", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE)
private Long width;
/** $column.columnComment */
- @Excel(name = "楂樺害")
+ @Excel(name = "楂樺害", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE)
private Long height;
/** $column.columnComment */
- @Excel(name = "澶у皬")
+ @Excel(name = "澶у皬", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE)
private Double fileSize;
/** $column.columnComment */
- @Excel(name = "闄勪欢鍙婂巻鍙插彂鏂囧彿")
+ @Excel(name = "闄勪欢鍙婂巻鍙插彂鏂囧彿",headerColor = IndexedColors.BLACK, width = 10, headerBackgroundColor = IndexedColors.WHITE)
private String attachmentHistoryNumbers;
/** $column.columnComment */
- @Excel(name = "澶囨敞")
+ //@Excel(name = "澶囨敞", width = 10)
private String remarks;
public String getUrl() {
return url;
--
Gitblit v1.9.1