From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期二, 20 五月 2025 23:48:08 +0800
Subject: [PATCH] 修改文件上传类型限制

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngCarExcelVO.java |   39 ++++++++++++++++++++-------------------
 1 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngCarExcelVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngCarExcelVO.java
index 0b42ea1..332327a 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngCarExcelVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngCarExcelVO.java
@@ -1,12 +1,12 @@
 package com.panzhihua.common.model.vos.community;
 
-import com.alibaba.excel.annotation.ExcelProperty;
-import com.fasterxml.jackson.annotation.JsonFormat;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
 import java.io.Serializable;
-import java.util.Date;
+
+import com.alibaba.excel.annotation.ExcelProperty;
+import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass;
+import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField;
+
+import lombok.Data;
 
 /**
  * @description: 批量导入车辆管理
@@ -14,47 +14,48 @@
  * @date: 2021/3/11 17:11
  */
 @Data
+@EncryptDecryptClass
 public class ComMngCarExcelVO implements Serializable {
     /**
      * 小区名称
      */
-    @ExcelProperty(value = "小区名称" ,index = 0)
+    @ExcelProperty(value = "小区名称", index = 0)
     private String areaName;
     /**
      * 车主姓名
      */
-    @ExcelProperty(value = "车主姓名" ,index = 1)
+    @ExcelProperty(value = "车主姓名", index = 1)
     private String userName;
+
+    /**
+     * 车主身份证号码
+     */
+    @EncryptDecryptField
+    @ExcelProperty(value = "车主身份证号码", index = 2)
+    private String cardNo;
 
     /**
      * 品牌型号
      */
-    @ExcelProperty(value = "品牌型号" ,index = 2)
+    @ExcelProperty(value = "品牌型号", index = 5)
     private String brand;
 
     /**
      * 车牌号
      */
-    @ExcelProperty(value = "车牌号" ,index = 3)
+    @ExcelProperty(value = "车牌号", index = 4)
     private String plateNum;
 
     /**
      * 车身颜色
      */
-    @ExcelProperty(value = "颜色" ,index = 4)
+    @ExcelProperty(value = "颜色", index = 6)
     private String color;
 
     /**
      * 联系方式
      */
-    @ExcelProperty(value = "联系方式" ,index = 5)
+    @ExcelProperty(value = "联系方式", index = 3)
     private String mobile;
 
-    /**
-     * 详细住址
-     */
-    @ExcelProperty(value = "详细住址" ,index = 6)
-    private String address;
-
 }
-

--
Gitblit v1.7.1