1.完成异常终端详情
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
package com.njcn.device.pq.pojo.param;
|
||||
|
||||
import com.njcn.web.constant.ValidMessage;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author wr
|
||||
* @createTime: 2023-04-03
|
||||
*/
|
||||
@Data
|
||||
@ApiModel
|
||||
public class DevRunEvaluateParam {
|
||||
|
||||
@ApiModelProperty(name = "orgId", value = "部门id")
|
||||
private String orgId;
|
||||
|
||||
/**
|
||||
* 0-电网侧
|
||||
* 1-非电网侧
|
||||
*/
|
||||
@ApiModelProperty("电网侧标识")
|
||||
@Range(min = 0, max = 2, message = "电网侧标识" + ValidMessage.PARAM_FORMAT_ERROR)
|
||||
private Integer powerFlag;
|
||||
|
||||
@ApiModelProperty(name = "ids", value = "设备id")
|
||||
private List<String> ids;
|
||||
|
||||
@ApiModelProperty(name = "startTime", value = "开始时间")
|
||||
private String startTime;
|
||||
|
||||
@ApiModelProperty(name = "endTime", value = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.njcn.device.pq.pojo.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author wr
|
||||
* @description
|
||||
* @date 2025/5/9 11:26
|
||||
*/
|
||||
@Data
|
||||
public class DevDetailVO {
|
||||
|
||||
@ApiModelProperty(name = "lineId",value = "监测点索引")
|
||||
private String lineId;
|
||||
|
||||
@ApiModelProperty(name = "lineName",value = "监测点名称")
|
||||
private String lineName;
|
||||
|
||||
@ApiModelProperty(name = "devId",value = "终端id")
|
||||
private String devId;
|
||||
|
||||
@ApiModelProperty(name = "devName",value = "终端名称")
|
||||
private String devName;
|
||||
|
||||
@ApiModelProperty(name = "subName",value = "变电站名称")
|
||||
private String subName;
|
||||
|
||||
@ApiModelProperty(name = "subName",value = "对象id(新能源用户)")
|
||||
private String ObjId;
|
||||
|
||||
}
|
||||
@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wr
|
||||
@@ -16,6 +17,8 @@ public class DeviceRunEvaluateVO {
|
||||
@ApiModelProperty("名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("变电站名称")
|
||||
private String subName;
|
||||
@ApiModelProperty("评价")
|
||||
private BigDecimal evaluate;
|
||||
|
||||
@@ -28,5 +31,9 @@ public class DeviceRunEvaluateVO {
|
||||
@ApiModelProperty("合格率")
|
||||
private BigDecimal passRate;
|
||||
|
||||
|
||||
@Data
|
||||
public static class Info extends DeviceRunEvaluateVO{
|
||||
@ApiModelProperty("终端id集合")
|
||||
private List<String> devIds;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user