自定义组件代码bug解决
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user