更新监测点时新增新能源站字段
This commit is contained in:
@@ -22,6 +22,9 @@ public class VoltageRideThroughQueryParam extends BaseParam {
|
||||
@NotBlank(message = "新能源场站不能为空")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("1:高电压次数,2:低电压次数")
|
||||
private String frequencyType;
|
||||
|
||||
@ApiModelProperty("监测点集合(用于后端使用)")
|
||||
private List<String> lineIds;
|
||||
|
||||
|
||||
@@ -70,8 +70,8 @@ public class VoltageRideThroughEventServiceImpl implements VoltageRideThroughEve
|
||||
voltageRideThroughVo.setLat(area.getLat());
|
||||
voltageRideThroughVo.setLng(area.getLng());
|
||||
}
|
||||
voltageRideThroughVo.setHighPressure(new Random().nextInt()+1+"");
|
||||
voltageRideThroughVo.setLowPressure(new Random().nextInt()+1+"");
|
||||
voltageRideThroughVo.setHighPressure((int) (Math.random() * 100 + 1)+"");
|
||||
voltageRideThroughVo.setLowPressure((int) (Math.random() * 100 + 1)+"");
|
||||
//开始计算每个地区高低压穿越次数
|
||||
//获取当前部门下所有的监测点(当然也会根据选择的新能源场站类型进行过滤)
|
||||
List<String> lineIds = deptLineFeignClient.getLineByDeptIdAndNewStation(deptDTO.getId(),voltageRideThroughQueryParam.getType()).getData();
|
||||
|
||||
Reference in New Issue
Block a user