mark
This commit is contained in:
parent
0bab2292aa
commit
9b9a6fe315
@ -1,5 +1,6 @@
|
||||
package com.qgs.dc.influx.param;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
import com.qgs.dc.influx.template.Event;
|
||||
import lombok.Data;
|
||||
|
||||
@ -11,6 +12,7 @@ import java.util.List;
|
||||
* @DATE: 2022/10/13 16:10
|
||||
*/
|
||||
@Data
|
||||
@JsonPropertyOrder(value = {"list","measurement"})
|
||||
public class InsertParam {
|
||||
List<Event> list;
|
||||
String measurement;
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.qgs.dc.influx.template;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
import com.influxdb.annotations.Column;
|
||||
import com.influxdb.annotations.Measurement;
|
||||
import lombok.Data;
|
||||
@ -12,6 +13,7 @@ import java.time.Instant;
|
||||
* @DATE: 2022/6/25 11:13
|
||||
*/
|
||||
@Data
|
||||
@JsonPropertyOrder(value = {"time","transationId","argName","argValue"})
|
||||
public class Event {
|
||||
|
||||
private Instant time;
|
||||
|
Loading…
Reference in New Issue
Block a user