测试文档bug调整
This commit is contained in:
@@ -118,6 +118,7 @@ public class RmpEventDetailPO implements Serializable {
|
||||
|
||||
private Double transientValue;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@ApiModelProperty(value = "用于计算数量")
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.njcn.event.pojo.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.influxdb.annotation.Column;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author xy
|
||||
*/
|
||||
@Data
|
||||
public class SendEventVO implements Serializable {
|
||||
|
||||
@ApiModelProperty("部门集合")
|
||||
private Set<String> deptList;
|
||||
|
||||
@ApiModelProperty(name = "time",value = "暂降发生时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime time;
|
||||
|
||||
@ApiModelProperty(name = "eventValue",value = "特征幅值")
|
||||
@Column(name = "event_value")
|
||||
private Double eventValue;
|
||||
|
||||
@ApiModelProperty(name = "persistTime",value = "持续时间(ms)")
|
||||
@Column(name = "persist_time")
|
||||
private Double persistTime;
|
||||
|
||||
@ApiModelProperty(name = "eventType",value = "暂降类型")
|
||||
@Column(name = "event_type")
|
||||
private String eventType;
|
||||
|
||||
@ApiModelProperty(name = "eventReason",value = "暂降原因")
|
||||
@Column(name = "event_reason")
|
||||
private String eventReason;
|
||||
|
||||
@ApiModelProperty("监测点名称")
|
||||
private String lineName;
|
||||
|
||||
@ApiModelProperty("供电公司")
|
||||
private String powerCompany;
|
||||
|
||||
@ApiModelProperty("变电站")
|
||||
private String substation;
|
||||
}
|
||||
@@ -1,14 +1,13 @@
|
||||
package com.njcn.event.pojo.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.influxdb.annotation.Column;
|
||||
import org.influxdb.annotation.Measurement;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
*获取事件报告
|
||||
* @author zbj
|
||||
@@ -84,7 +83,8 @@ public class WaveTypeVO{
|
||||
private String lineId;
|
||||
|
||||
@Column(name = "time")
|
||||
private String startTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@Column(name = "event_describe")
|
||||
private String eventDescribe;
|
||||
@@ -147,7 +147,8 @@ public class WaveTypeVO{
|
||||
private String sagSource;
|
||||
|
||||
@Column(name = "create_time")
|
||||
private String createTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user