国网上送提交代码

This commit is contained in:
hzj
2023-12-27 14:44:24 +08:00
parent ea6eb4198c
commit 22eecac2ee
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ public class ConverterDetailStatisticsPOServiceImpl extends ServiceImpl<Converte
sendParam.setStats(temp); sendParam.setStats(temp);
String s = JSONObject.toJSONStringWithDateFormat(param, JSON.DEFFAULT_DATE_FORMAT); String s = JSONObject.toJSONStringWithDateFormat(param, JSON.DEFFAULT_DATE_FORMAT);
log.info(Thread.currentThread().getName() + "获取返回体 换流站指标统计明细数据接口数据:" + s + "开始----"); log.info(Thread.currentThread().getName() + "获取返回体 换流站指标统计明细数据接口数据:" + s + "开始----");
Map<String, String> send = GwSendUtil.send(sendParam, GWSendEnum.SUBSTATION_MONITOR); Map<String, String> send = GwSendUtil.send(sendParam, GWSendEnum.DETAIL_CREATE);
log.info(Thread.currentThread().getName() + "获取返回体换流站指标统计明细数据接口响应结果:" + send + "结束----"); log.info(Thread.currentThread().getName() + "获取返回体换流站指标统计明细数据接口响应结果:" + send + "结束----");
List<String> trIds = temp.stream().map(ConverterDetailStatisticsDTO::getId).distinct().collect(Collectors.toList()); List<String> trIds = temp.stream().map(ConverterDetailStatisticsDTO::getId).distinct().collect(Collectors.toList());

View File

@@ -124,7 +124,7 @@ public class PqTypicalSourceCreatePOServiceImpl extends ServiceImpl<PqTypicalSou
sendParam.setStats(temp); sendParam.setStats(temp);
String s = JSONObject.toJSONStringWithDateFormat(sendParam, JSON.DEFFAULT_DATE_FORMAT); String s = JSONObject.toJSONStringWithDateFormat(sendParam, JSON.DEFFAULT_DATE_FORMAT);
log.info(Thread.currentThread().getName() + "获取返回体 换流站指标统计明细数据接口数据:" + s + "开始----"); log.info(Thread.currentThread().getName() + "获取返回体 换流站指标统计明细数据接口数据:" + s + "开始----");
Map<String, String> send = GwSendUtil.send(sendParam, GWSendEnum.SUBSTATION_MONITOR); Map<String, String> send = GwSendUtil.send(sendParam, GWSendEnum.TYPICAL_SOURCE);
log.info(Thread.currentThread().getName() + "获取返回体换流站指标统计明细数据接口响应结果:" + send + "结束----"); log.info(Thread.currentThread().getName() + "获取返回体换流站指标统计明细数据接口响应结果:" + send + "结束----");
List<String> trIds = temp.stream().map(PqTypicalSourceCreateDTO::getId).distinct().collect(Collectors.toList()); List<String> trIds = temp.stream().map(PqTypicalSourceCreateDTO::getId).distinct().collect(Collectors.toList());