Merge remote-tracking branch 'origin/test' into dev

This commit is contained in:
2026-09-09 01:28:48 +08:00
2 changed files with 18 additions and 1 deletions
@@ -21,6 +21,7 @@ import java.util.UUID;
@Component
@ConditionalOnProperty(prefix = "baiyue.carrier-schedule.scheduler", name = "enabled", havingValue = "true")
public class CarrierScheduleQueryScheduler {
static final String PROVIDER_TEMPORARILY_UNAVAILABLE = "轨迹供应商暂时不可用,请稍后重试或人工补录节点";
private final CarrierScheduleQueryRepository repository;
private final CarrierScheduleQueryService service;
private final CarrierScheduleIntegrationClient integration;
@@ -96,7 +97,7 @@ public class CarrierScheduleQueryScheduler {
result.errorMessage());
} catch (RuntimeException exception) {
service.completeScheduledAttempt(candidate.getId(), "RETRYABLE_FAILURE", "PROVIDER_CALL_FAILED",
exception.getClass().getSimpleName());
PROVIDER_TEMPORARILY_UNAVAILABLE);
}
}
}