Ver Fonte

流水重试

hpk há 1 ano atrás
pai
commit
dbfdf45f61

+ 5 - 4
job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/data/service/impl/KuaiShouAccountReportServiceImpl.java

@@ -183,10 +183,11 @@ public class KuaiShouAccountReportServiceImpl implements IKuaiShouAccountReportS
                 } catch (InterruptedException ignored) {
                 }
                 queryAccountDailyFlows(accessToken, advertiserId, startDate, endDate, page,isLog, errId, isSend, retry + 1);
-            }
-            log.error("获取快手广告账户流水信息异常:{},accountId:{} {}~{}", message, advertiserId,startDate,endDate);
-            if (isLog != null && isLog == 1 && (null == code || code != 400002)) {
-                errorLogService.addError(advertiserId, startDate, endDate, "daily_flows", "daily", message, 2);
+            }else {
+                log.error("获取快手广告账户流水信息异常:{},accountId:{} {}~{}", message, advertiserId,startDate,endDate);
+                if (isLog != null && isLog == 1 && (null == code || code != 400002)) {
+                    errorLogService.addError(advertiserId, startDate, endDate, "daily_flows", "daily", message, 2);
+                }
             }
             return;
         }