From 1729474b4c7ffacb1790bb70981e64e7744bffb2 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 26 一月 2026 17:51:06 +0800
Subject: [PATCH] feat: BOM导入模板下载接口,导入导出接口添加权限

---
 src/main/java/com/ruoyi/purchase/dto/PurchaseLedgerProductImportDto.java |   83 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 83 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/purchase/dto/PurchaseLedgerProductImportDto.java b/src/main/java/com/ruoyi/purchase/dto/PurchaseLedgerProductImportDto.java
new file mode 100644
index 0000000..3db4abe
--- /dev/null
+++ b/src/main/java/com/ruoyi/purchase/dto/PurchaseLedgerProductImportDto.java
@@ -0,0 +1,83 @@
+package com.ruoyi.purchase.dto;
+
+import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import com.ruoyi.sales.dto.SalesLedgerProductImportDto;
+import lombok.Data;
+
+import java.math.BigDecimal;
+
+/**
+ * @author :yys
+ * @date : 2026/1/26 16:03
+ */
+@Data
+public class PurchaseLedgerProductImportDto{
+
+    @Excel(name = "閲囪喘鍗曞彿")
+    private String purchaseContractNumber;
+
+    /**
+     * 棰勮鏁伴噺
+     */
+    @Excel(name = "搴撳瓨棰勮鏁伴噺")
+    private BigDecimal warnNum;
+
+    @Excel(name = "閿�鍞崟鍙�")
+    private String salesContractNo;
+
+
+    /**
+     * 浜у搧澶х被
+     */
+    @Excel(name = "浜у搧澶х被")
+    private String productCategory;
+
+    /**
+     * 瑙勬牸鍨嬪彿
+     */
+    @Excel(name = "瑙勬牸鍨嬪彿")
+    private String specificationModel;
+
+    /**
+     * 鍗曚綅
+     */
+    @Excel(name = "鍗曚綅")
+    private String unit;
+
+    /**
+     * 鏁伴噺
+     */
+    @Excel(name = "鏁伴噺")
+    private BigDecimal quantity;
+
+    /**
+     * 绋庣巼
+     */
+    @Excel(name = "绋庣巼")
+    private BigDecimal taxRate;
+
+    /**
+     * 鍚◣鍗曚环
+     */
+    @Excel(name = "鍚◣鍗曚环")
+    private BigDecimal taxInclusiveUnitPrice;
+
+    /**
+     * 鍚◣鎬讳环
+     */
+    @Excel(name = "鍚◣鎬讳环")
+    private BigDecimal taxInclusiveTotalPrice;
+
+    /**
+     * 鍙戠エ绫诲瀷
+     */
+    @Excel(name = "鍙戠エ绫诲瀷")
+    private String invoiceType;
+
+    /**
+     * 鏄惁璐ㄦ
+     */
+    @Excel(name = "鏄惁璐ㄦ", readConverterExp = "0=鍚�,1=鏄�")
+    private Integer isChecked;
+
+}

--
Gitblit v1.9.3