台站运行管理台站接收状态线程台站id数组获取内容修改

This commit is contained in:
qiaoqinzheng 2024-01-24 16:45:08 +08:00
parent a2ff824fc7
commit e3e8a52344

View File

@ -81,6 +81,7 @@ public class DataReceivingStatusManager {
String cacheTime = (String) redisUtil.get("maxCacheTime");
//从redis中获取台站信息
Map<String, GardsStations> stationInfoMap = (HashMap<String, GardsStations>) redisUtil.get("stationInfoMap");
// List<Integer> stationIds = stationInfoMap.keySet().stream().collect(Collectors.toList());
List<String> stationIds = new LinkedList<>();
for (Map.Entry<String, GardsStations> stationInfo:stationInfoMap.entrySet()) {
GardsStations infoValue = stationInfo.getValue();