From 38553de8fe4a824919563db827019909caa65f9c Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期三, 24 十二月 2025 10:34:59 +0800
Subject: [PATCH] 修改了对应代码
---
archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java | 73 ++++++++++++++++++++++++------------
1 files changed, 49 insertions(+), 24 deletions(-)
diff --git a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
index 0585726..d54657d 100644
--- a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
+++ b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
@@ -7,13 +7,15 @@
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.common.annotation.NumberFormatHandler;
import org.apache.commons.lang3.builder.ToStringBuilder;
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
@@ -25,8 +27,14 @@
/** $column.columnComment */
@TableId(type = IdType.AUTO)
private Long materialId;
- @Excel(name = "鏂囦欢鏉愭枡搴忓彿")
+ @Excel(name = "鏂囦欢鏉愭枡搴忓彿", handler = NumberFormatHandler.class)
private Long fileNumber;
+
+
+ @Excel(name = "鏂囦欢缂栧彿")
+ private String documentNumber;
+
+
public Long getFileNumber() {
return fileNumber;
@@ -37,97 +45,106 @@
}
/** $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 = "椤靛彿")
+ @Excel(name = "椤靛彿", handler = NumberFormatHandler.class, headerColor = IndexedColors.BLACK)
private Long pageNumber;
/** $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 */
- @Excel(name = "鏄惁涓洪檮鍥�")
+// @Excel(name = "鏄惁涓洪檮鍥�")
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;
@@ -279,6 +296,14 @@
return securityLevel;
}
+ public String getDocumentNumber() {
+ return documentNumber;
+ }
+
+ public void setDocumentNumber(String documentNumber) {
+ this.documentNumber = documentNumber;
+ }
+
public void setIsSensitive(String isSensitive)
{
this.isSensitive = isSensitive;
--
Gitblit v1.9.1