|
|
@@ -102,7 +102,6 @@ public class StartChargeDelayJob implements DelayService<DelayChargeOrder> {
|
|
|
log.error("预约充电队列take异常", e);
|
|
|
} else {
|
|
|
log.info("预约启动充电失败,订单号:{}", threadLocal.get());
|
|
|
- // todo 启动时遇到设备离线等情况会导致启动失败,这里如何处理? threadLocal.get()为null是怎么回事
|
|
|
if (e instanceof BusinessException && (ResponseEnum.PLATFORM_QUERY_TOKEN_EXCEPTION.getCode().equals(((BusinessException) e).getCode()))) {
|
|
|
if (retryList.contains(threadLocal.get())) {
|
|
|
log.info("PlatformToken异常,预约订单:{}已重试忽略", threadLocal.get());
|