自定义组件代码bug解决

This commit is contained in:
2022-09-13 14:39:32 +08:00
parent 56182aa79c
commit da281bfde5
11 changed files with 93 additions and 28 deletions

View File

@@ -6,6 +6,7 @@ import org.influxdb.annotation.Measurement;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.Instant;
import java.time.LocalDateTime;
/**
* @author cdf
@@ -22,7 +23,7 @@ public class EventDetailNew {
@Column(name = "time")
@DateTimeFormat(pattern = "yyyy-mm-dd")
private Instant timeId;
private LocalDateTime timeId;
@Column(name = "event_describe")
private String eventDescribe;