From a8e4132c3e2e9c3b3fcb0360901b35571b6464ea Mon Sep 17 00:00:00 2001
From: hsy <1029150275@qq.com>
Date: 星期五, 28 八月 2026 10:13:01 +0800
Subject: [PATCH] feat: 综合业务模块功能补充与实体拓展

---
 src/main/java/com/ruoyi/device/execl/DeviceLedgerExeclDto.java |   70 ++++++++++++++++++++++++++--------
 1 files changed, 53 insertions(+), 17 deletions(-)

diff --git a/src/main/java/com/ruoyi/device/execl/DeviceLedgerExeclDto.java b/src/main/java/com/ruoyi/device/execl/DeviceLedgerExeclDto.java
index 09c5f40..68e019f 100644
--- a/src/main/java/com/ruoyi/device/execl/DeviceLedgerExeclDto.java
+++ b/src/main/java/com/ruoyi/device/execl/DeviceLedgerExeclDto.java
@@ -1,13 +1,14 @@
 package com.ruoyi.device.execl;
 
-import com.baomidou.mybatisplus.annotation.FieldFill;
-import com.baomidou.mybatisplus.annotation.TableField;
+import com.fasterxml.jackson.annotation.JsonFormat;
 import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 import org.springframework.format.annotation.DateTimeFormat;
 
 import java.math.BigDecimal;
-import java.time.LocalDateTime;
+import java.time.LocalDate;
+import java.util.Date;
 
 @Data
 public class DeviceLedgerExeclDto {
@@ -18,6 +19,18 @@
      */
     @Excel(name = "璁惧鍚嶇О" ,sort = 1)
     private String deviceName;
+
+    /**
+     * 璁惧绫诲瀷
+     */
+    @Excel(name = "璁惧绫诲瀷",sort = 0,combo = {"鐢熶骇璁惧","鍔炲叕璁惧","妫�鏌ヨ澶�","杩愯緭璁惧","鍏朵粬璁惧"})
+    private String type;
+
+    @Schema(description = "璁″垝杩愯鏃堕棿")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "璁″垝杩愯鏃堕棿",sort = 10,dateFormat = "yyyy-MM-dd")
+    private Date planRuntimeTime;
 
     /**
      * 瑙勬牸鍨嬪彿
@@ -40,8 +53,8 @@
     /**
      * 鏁伴噺
      */
-    @Excel(name = "鏁伴噺",sort = 5)
-    private BigDecimal number;
+    @Excel(name = "鏁伴噺",sort = 5, type = Excel.Type.EXPORT)
+    private BigDecimal number = BigDecimal.ONE;
 
     /**
      * 鍚◣鍗曚环
@@ -52,7 +65,7 @@
     /**
      * 鍚◣鎬讳环
      */
-    @Excel(name = "鍚◣鎬讳环",sort = 7)
+    @Excel(name = "鍚◣鎬讳环",sort = 7, type = Excel.Type.EXPORT)
     private BigDecimal taxIncludingPriceTotal;
 
     /**
@@ -64,26 +77,49 @@
     /**
      * 涓嶅惈绋庢�讳环
      */
-    @Excel(name = "涓嶅惈绋庢�讳环",sort = 9)
+    @Excel(name = "涓嶅惈绋庢�讳环",sort = 9, type = Excel.Type.EXPORT)
     private BigDecimal unTaxIncludingPriceTotal;
-//
-//    /**
-//     * 褰曞叆鏃堕棿
-//     *
-//     */
-//    @Excel(name = "褰曞叆鏃堕棿",sort = 10)
-//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-//    private LocalDateTime createTime;
-
 
 
     /**
      * 褰曞叆浜�
      */
-    @Excel(name = "褰曞叆浜�",sort = 9)
+    @Excel(name = "褰曞叆浜�",sort = 10)
     private String createUser;
 
+    @Excel(name = "璁惧缂栧彿", sort = 11)
+    private String uniqueCode;
 
+    @Excel(name = "鍑哄巶缂栧彿", sort = 12)
+    private String factoryNumber;
 
+    @Excel(name = "鍒堕�犲巶鍟�", sort = 13)
+    private String manufacturer;
 
+    @Excel(name = "璧勪骇鍘熷��", sort = 14)
+    private BigDecimal originalAssetValue;
+
+    @Excel(name = "璐疆鏃ユ湡", sort = 15, dateFormat = "yyyy-MM-dd")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
+    private Date purchaseDate;
+
+    @Excel(name = "鍚敤鏃ユ湡", sort = 16, dateFormat = "yyyy-MM-dd")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
+    private Date activationDate;
+
+    @Excel(name = "涓昏鎶�鏈弬鏁�", sort = 17)
+    private String technicalParameters;
+
+    @Excel(name = "涓昏鐢ㄩ��", sort = 18)
+    private String mainPurpose;
+
+    @Excel(name = "璐d换浜�", sort = 19)
+    private String responsiblePerson;
+
+    @Excel(name = "寤烘。鏃ユ湡", sort = 20, dateFormat = "yyyy-MM-dd")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
+    private Date filingDate;
 }

--
Gitblit v1.9.3