mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
异步推送第三方平台实时数据 使用新逻辑
This commit is contained in:
@@ -353,13 +353,13 @@ public class UploadRealTimeMonitorHandler extends AbstractYkcHandler {
|
||||
}
|
||||
|
||||
// 异步推送第三方平台实时数据
|
||||
CompletableFuture.runAsync(() -> {
|
||||
try {
|
||||
commonService.pushRealTimeInfo(pileSn, connectorCode, connectorStatus, realTimeMonitorData, transactionCode);
|
||||
} catch (Exception e) {
|
||||
log.error("统一推送第三方平台实时数据 error,", e);
|
||||
}
|
||||
}, executor);
|
||||
// CompletableFuture.runAsync(() -> {
|
||||
// try {
|
||||
// commonService.pushRealTimeInfo(pileSn, connectorCode, connectorStatus, realTimeMonitorData, transactionCode);
|
||||
// } catch (Exception e) {
|
||||
// log.error("统一推送第三方平台实时数据 error,", e);
|
||||
// }
|
||||
// }, executor);
|
||||
|
||||
// 异步推送第三方平台实时数据V2
|
||||
CompletableFuture.runAsync(() -> {
|
||||
|
||||
Reference in New Issue
Block a user