河北超高压算法调整

This commit is contained in:
2024-01-12 15:19:18 +08:00
parent e80daaab08
commit fa3908c77a

View File

@@ -138,16 +138,15 @@ public class REvaluationDataServiceImpl extends ServiceImpl<RUploadEvaluationDat
item.setMonitorBusRate(value);
item.setVoltageLevel(getVoltage(item.getVoltageLevel()));
}).collect(Collectors.toList());
log.info(JSON.toJSONString(l1));
// //组装数据
// SendParam sp = new SendParam();
// sp.setStats(l1);
// sp.setStatisticalDate(param.getTime());
// //上送数据
// Map<String, String> send = GwSendUtil.send(sp, GWSendEnum.EVALUATION);
// //获取返回结果
// List<String> l = pendingIds.get(i).stream().map(PqEvaluationCreateDTO::getId).collect(Collectors.toList());
// returnInformation(i,l,send);
//组装数据
SendParam sp = new SendParam();
sp.setStats(l1);
sp.setStatisticalDate(param.getTime());
//上送数据
Map<String, String> send = GwSendUtil.send(sp, GWSendEnum.EVALUATION);
//获取返回结果
List<String> l = pendingIds.get(i).stream().map(PqEvaluationCreateDTO::getId).collect(Collectors.toList());
returnInformation(i,l,send);
}
return "上送成功:成功数据" + list.size() + "";
}