代码更新
This commit is contained in:
@@ -3,6 +3,9 @@ package com.njcn.event.pojo.po;
|
||||
import lombok.Data;
|
||||
import org.influxdb.annotation.Column;
|
||||
import org.influxdb.annotation.Measurement;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
/**
|
||||
* @author cdf
|
||||
@@ -18,7 +21,8 @@ public class EventDetailNew {
|
||||
private String lineId;
|
||||
|
||||
@Column(name = "time")
|
||||
private String timeId;
|
||||
@DateTimeFormat(pattern = "yyyy-mm-dd")
|
||||
private Instant timeId;
|
||||
|
||||
@Column(name = "event_describe")
|
||||
private String eventDescribe;
|
||||
|
||||
Reference in New Issue
Block a user