From b693c7b6a73ea83a4bfc66f3846e0d9517af2642 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 20 五月 2026 16:27:38 +0800
Subject: [PATCH] 导入供应商增加类型,并校验
---
src/main/java/com/ruoyi/basic/excel/SupplierManageExcelDto.java | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/ruoyi/basic/excel/SupplierManageExcelDto.java b/src/main/java/com/ruoyi/basic/excel/SupplierManageExcelDto.java
index a37252e..d4e63de 100644
--- a/src/main/java/com/ruoyi/basic/excel/SupplierManageExcelDto.java
+++ b/src/main/java/com/ruoyi/basic/excel/SupplierManageExcelDto.java
@@ -3,8 +3,9 @@
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
-import io.swagger.annotations.ApiModelProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
@@ -13,6 +14,9 @@
@Excel(name = "渚涘簲鍟嗗悕绉�")
private String supplierName;
+
+ @Excel(name = "渚涘簲鍟嗙被鍨�")
+ private String supplierType;
@Excel(name = "绾崇◣浜鸿瘑鍒彿")
private String taxpayerIdentificationNum;
@@ -35,10 +39,11 @@
@Excel(name = "鑱旂郴鐢佃瘽")
private String contactUserPhone;
- @Excel(name = "缁存姢浜篒D")
- private Integer maintainUserId;
+ @Excel(name = "缁存姢浜�")
+ private String maintainUserName;
- @Excel(name = "缁存姢鏃堕棿")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private LocalDateTime maintainTime;
+// @Excel(name = "缁存姢鏃堕棿")
+// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+// private LocalDateTime maintainTime;
}
--
Gitblit v1.9.3