no message
This commit is contained in:
@ -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(500);
|
||||
return sendDataService.sendSubOrderToBattery(Long.parseLong(id));
|
||||
} catch (Exception e) {
|
||||
log.error("处理用户数据时发生异常", e);
|
||||
|
||||
Reference in New Issue
Block a user