From ca94f9516c131e7b55b645a30ee6a1d48e59c83a Mon Sep 17 00:00:00 2001 From: lyf66 Date: Fri, 8 Aug 2025 15:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=98=E9=87=8F=E5=90=8D?= =?UTF-8?q?=E4=BD=BF=E8=AF=AD=E4=B9=89=E5=A5=BD=E7=90=86=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/whdc/component/AutoCallTaskScheduled.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/whdc/component/AutoCallTaskScheduled.java b/src/main/java/com/whdc/component/AutoCallTaskScheduled.java index f9191d6..499cac5 100644 --- a/src/main/java/com/whdc/component/AutoCallTaskScheduled.java +++ b/src/main/java/com/whdc/component/AutoCallTaskScheduled.java @@ -131,7 +131,7 @@ public class AutoCallTaskScheduled { //fetch status int pendingDuration = 60 * 1000 * 2; int loopGap = 1000; - boolean success = false; + boolean resultFetched = false; while (pendingDuration > 0) { try { Thread.sleep(loopGap); @@ -141,12 +141,12 @@ public class AutoCallTaskScheduled { } pendingDuration -= loopGap; - success = autoCallTaskService.step4QueryAICCTaskResult(person); - if (success) break; + resultFetched = autoCallTaskService.step4QueryAICCTaskResult(person); + if (resultFetched) break; } AutoCallPerson _person = autoCallTaskService.getPersonMapper().selectById(person.getId()); person = _person; - if (!success) { + if (!resultFetched) { if (person.getUploadedTimes() == 2) { autoCallTaskService.markPersonDetailQueryTimeout(person); }