Compare commits

...

2 Commits

Author SHA1 Message Date
35829c9d84 no message 2025-09-29 13:57:19 +08:00
cd6d4c67c9 no message 2025-09-29 13:53:56 +08:00

View File

@ -24,6 +24,8 @@ import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Executor;
import static java.lang.Thread.sleep;
/**
* 数据同步控制器
@ -87,7 +89,7 @@ public class SendDataController {
log.info("/subOrder 接收充电数据:{}",id);
return CompletableFuture
.supplyAsync(() -> {
try {
try {sleep(1000);
return sendDataService.sendSubOrderToBattery(Long.parseLong(id));
} catch (Exception e) {
log.error("处理用户数据时发生异常", e);