暂降事件推送日志
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
package com.njcn.device.pq.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.influxdb.annotation.Column;
|
||||
import org.influxdb.annotation.Measurement;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @version 1.0.0
|
||||
@@ -12,27 +14,25 @@ import java.time.Instant;
|
||||
* @date: 2022/06/09 11:00
|
||||
*/
|
||||
@Data
|
||||
@Measurement(name = "pqs_event_push_logs")
|
||||
@TableName("cld_event_push_log")
|
||||
public class EventPushLogs {
|
||||
|
||||
@Column(name = "time")
|
||||
private Instant timeId;
|
||||
@TableId("Time_Id")
|
||||
private LocalDateTime timeId;
|
||||
|
||||
@Column(name = "line_id")
|
||||
@TableField("Line_Id")
|
||||
private String lineId;
|
||||
|
||||
@Column(name = "create_time")
|
||||
private String createTime;
|
||||
@TableField("Create_Time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Column(name = "update_time")
|
||||
private String updateTime;
|
||||
@TableField("Update_Time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@Column(name = "push_failed")
|
||||
@TableField("Push_Failed")
|
||||
private Integer pushFailed;
|
||||
|
||||
@Column(name = "result")
|
||||
@TableField("Result")
|
||||
private Integer result;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.njcn.device.pq.pojo.vo;
|
||||
|
||||
import com.njcn.device.pq.pojo.po.DevFuction;
|
||||
import com.njcn.device.pq.pojo.po.influxdb.DeviceDayFlow;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
@@ -32,6 +33,8 @@ public class TerminalDaliyFlowVO {
|
||||
private Float flowMeal;
|
||||
@ApiModelProperty(name = "deviceDayFlowsList",value = "装置日流量统计集合")
|
||||
private List<DeviceDayFlow> deviceDayFlowsList;
|
||||
@ApiModelProperty(name = "functions",value = "装置功能码集合")
|
||||
private List<DevFuction> functions;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user