From f984f785528bb3c97e41d483dc214e844993df35 Mon Sep 17 00:00:00 2001 From: fei <791364011@qq.com> Date: 星期四, 28 八月 2025 23:22:16 +0800 Subject: [PATCH] 修改了代码 --- archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java | 56 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 48 insertions(+), 8 deletions(-) diff --git a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java index 5206ff0..2000fff 100644 --- a/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java +++ b/archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java @@ -25,17 +25,34 @@ /** $column.columnComment */ @TableId(type = IdType.AUTO) private Long materialId; + @Excel(name = "鏂囦欢鏉愭枡搴忓彿") + private Long fileNumber; + + + @Excel(name = "鏂囦欢缂栧彿") + private String documentNumber; + + + + public Long getFileNumber() { + return fileNumber; + } + + public void setFileNumber(Long fileNumber) { + this.fileNumber = fileNumber; + } /** $column.columnComment */ - @Excel(name = "鏂囦欢缂栦换鑰�") + @Excel(name = "缂栦换鑰�") private String creator; /** $column.columnComment */ - @Excel(name = "鏂囦欢鎻愬悕") + @Excel(name = "鏂囦欢棰樺悕") private String title; /** $column.columnComment */ - @Excel(name = "鏃ユ湡") + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd") private Date date; /** $column.columnComment */ @@ -104,7 +121,7 @@ /** $column.columnComment */ @Excel(name = "澶у皬") - private Long fileSize; + private Double fileSize; /** $column.columnComment */ @Excel(name = "闄勪欢鍙婂巻鍙插彂鏂囧彿") @@ -115,15 +132,30 @@ private String remarks; /** $column.columnComment */ - @Excel(name = "${comment}") private Date createdAt; /** $column.columnComment */ - @Excel(name = "${comment}") private Date updatedAt; + private String fileStyle; + public String getUrl() { + return url; + } + public void setUrl(String url) { + this.url = url; + } + + private String url; private Long recordId; + + public String getFileStyle() { + return fileStyle; + } + + public void setFileStyle(String fileStyle) { + this.fileStyle = fileStyle; + } public Long getRecordId() { return recordId; @@ -253,6 +285,14 @@ return securityLevel; } + public String getDocumentNumber() { + return documentNumber; + } + + public void setDocumentNumber(String documentNumber) { + this.documentNumber = documentNumber; + } + public void setIsSensitive(String isSensitive) { this.isSensitive = isSensitive; @@ -333,12 +373,12 @@ return height; } - public void setFileSize(Long fileSize) + public void setFileSize(Double fileSize) { this.fileSize = fileSize; } - public Long getFileSize() + public Double getFileSize() { return fileSize; } -- Gitblit v1.9.1