更新监测点时新增新能源站字段

This commit is contained in:
guofeihu
2024-08-22 09:08:09 +08:00
parent bddd1efef3
commit f27a107bba
6 changed files with 14 additions and 6 deletions

View File

@@ -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();