From 83dfb5640c1e11634dd6c4fae0d078494f0c0190 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 05 六月 2023 17:08:48 +0800
Subject: [PATCH] 开发Voc文件异步入库定时程序

---
 src/main/java/com/yssh/entity/VocVals.java |   36 ++++++++++++++++++++----------------
 1 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/src/main/java/com/yssh/entity/VocVals.java b/src/main/java/com/yssh/entity/VocVals.java
index e78ec1a..c5a6868 100644
--- a/src/main/java/com/yssh/entity/VocVals.java
+++ b/src/main/java/com/yssh/entity/VocVals.java
@@ -1,68 +1,72 @@
 package com.yssh.entity;
 
-import cn.hutool.core.date.DateTime;
+import com.github.biyanwen.annotation.CsvProperty;
 import io.swagger.annotations.ApiModelProperty;
 
 import java.io.Serializable;
+import java.util.Date;
 
 public class VocVals implements Serializable {
     private static final long serialVersionUID = -20230605145412000L;
 
     @ApiModelProperty(value = "涓婚敭")
-    private int id;
+    private Integer id;
 
+    @CsvProperty(index = 0)
     @ApiModelProperty(value = "X")
-    private int x;
+    private Integer x;
 
+    @CsvProperty(index = 1)
     @ApiModelProperty(value = "Y")
-    private int y;
+    private Integer y;
 
+    @CsvProperty(index = 2)
     @ApiModelProperty(value = "鍊�")
-    private double val;
+    private Double val;
 
     @ApiModelProperty(value = "鍒涘缓鏃堕棿")
-    private DateTime createTime;
+    private Date createTime;
 
     public VocVals() {
     }
 
-    public int getId() {
+    public Integer getId() {
         return id;
     }
 
-    public void setId(int id) {
+    public void setId(Integer id) {
         this.id = id;
     }
 
-    public int getX() {
+    public Integer getX() {
         return x;
     }
 
-    public void setX(int x) {
+    public void setX(Integer x) {
         this.x = x;
     }
 
-    public int getY() {
+    public Integer getY() {
         return y;
     }
 
-    public void setY(int y) {
+    public void setY(Integer y) {
         this.y = y;
     }
 
-    public double getVal() {
+    public Double getVal() {
         return val;
     }
 
-    public void setVal(double val) {
+    public void setVal(Double val) {
         this.val = val;
     }
 
-    public DateTime getCreateTime() {
+    public Date getCreateTime() {
         return createTime;
     }
 
-    public void setCreateTime(DateTime createTime) {
+    public void setCreateTime(Date createTime) {
         this.createTime = createTime;
     }
 }

--
Gitblit v1.9.3