修改变量名使语义好理解

master
李一帆 2025-08-08 15:28:15 +08:00
parent 60b8484739
commit ca94f9516c
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}