修改暂降严重度和暂降热力图接口

This commit is contained in:
Lee
2023-04-10 16:35:47 +08:00
parent 766d824f54
commit 9fc0e6bb41
9 changed files with 161 additions and 111 deletions

View File

@@ -1,5 +1,6 @@
package com.njcn.event.pojo.vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
@@ -16,4 +17,9 @@ public class BaseVO {
private String name;
private BigDecimal value;
/**
* 综合评估
*/
@ApiModelProperty("综合评估")
private String data;
}

View File

@@ -1,5 +1,6 @@
package com.njcn.event.pojo.vo;
import com.njcn.device.pq.pojo.vo.AreaLineInfoVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -18,5 +19,5 @@ public class EventHeatMapVO implements Serializable {
private List<BaseVO> areaValue;
@ApiModelProperty(name = "eventHeatMapValue",value = "热力图数值")
private List<List<Object>> eventHeatMapValue;
private List<List<AreaLineInfoVO>> eventHeatMapValue;
}

View File

@@ -8,15 +8,16 @@ import java.util.List;
/**
* 暂降严重度
*
* @author denghuajun
* @version 1.0.0
* @date 2022年05月07日 09:03
*/
@Data
public class EventSeverityVO implements Serializable {
@ApiModelProperty(name = "areaValue",value = "数值")
@ApiModelProperty(name = "areaValue", value = "数值")
private List<List<Object>> areaValue;
@ApiModelProperty(name = "eventSeverityValue",value = "暂降严重度数值")
@ApiModelProperty(name = "eventSeverityValue", value = "暂降严重度数值")
private List<EventSeverityValueVO> eventSeverityValue;
}