|
@@ -84,6 +84,12 @@ public class AdqRetryReportServiceImpl implements IAdqRetryReportService {
|
|
|
}
|
|
}
|
|
|
if (!Check.isNull(hourList)) {
|
|
if (!Check.isNull(hourList)) {
|
|
|
adqReportMapper.addsHourList(hourList);
|
|
adqReportMapper.addsHourList(hourList);
|
|
|
|
|
+ try {
|
|
|
|
|
+ adqReportMapper.addsHourListSD(hourList);
|
|
|
|
|
+ }catch (Exception e) {
|
|
|
|
|
+ log.error("addsHourListSD",e);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
if (hourList.size() >= 1000) {
|
|
if (hourList.size() >= 1000) {
|
|
|
getCreativeHourRetry(errorId, advertiserId, accessToken, startDate, endDate, page + 1, isSend);
|
|
getCreativeHourRetry(errorId, advertiserId, accessToken, startDate, endDate, page + 1, isSend);
|
|
@@ -148,6 +154,12 @@ public class AdqRetryReportServiceImpl implements IAdqRetryReportService {
|
|
|
}
|
|
}
|
|
|
if (!Check.isNull(dailies)) {
|
|
if (!Check.isNull(dailies)) {
|
|
|
adqReportMapper.addsDaily(dailies);
|
|
adqReportMapper.addsDaily(dailies);
|
|
|
|
|
+ try {
|
|
|
|
|
+ adqReportMapper.addsDailySD(dailies);
|
|
|
|
|
+ }catch (Exception e) {
|
|
|
|
|
+ log.error("addsDailySD",e);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
if (dailies.size() >= 1000) {
|
|
if (dailies.size() >= 1000) {
|
|
|
getCreativeDailyRetry(errorId, advertiserId, accessToken, startDate, endDate, page + 1, isSend);
|
|
getCreativeDailyRetry(errorId, advertiserId, accessToken, startDate, endDate, page + 1, isSend);
|
|
@@ -213,6 +225,11 @@ public class AdqRetryReportServiceImpl implements IAdqRetryReportService {
|
|
|
}
|
|
}
|
|
|
if (!Check.isNull(hourList)) {
|
|
if (!Check.isNull(hourList)) {
|
|
|
accountReportMapper.addAccountHourList(hourList);
|
|
accountReportMapper.addAccountHourList(hourList);
|
|
|
|
|
+ try {
|
|
|
|
|
+ accountReportMapper.addAccountHourListSD(hourList);
|
|
|
|
|
+ }catch (Exception e){
|
|
|
|
|
+ log.error("addAccountHourList",e);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
if (hourList.size() >= 1000) {
|
|
if (hourList.size() >= 1000) {
|
|
|
getAccountHourRetry(errorId, advertiserId, accessToken, startDate, endDate, page + 1, isSend);
|
|
getAccountHourRetry(errorId, advertiserId, accessToken, startDate, endDate, page + 1, isSend);
|
|
@@ -277,6 +294,11 @@ public class AdqRetryReportServiceImpl implements IAdqRetryReportService {
|
|
|
}
|
|
}
|
|
|
if (!Check.isNull(dailyList)) {
|
|
if (!Check.isNull(dailyList)) {
|
|
|
accountReportMapper.addAccountDailyList(dailyList);
|
|
accountReportMapper.addAccountDailyList(dailyList);
|
|
|
|
|
+ try {
|
|
|
|
|
+ accountReportMapper.addAccountDailyListSD(dailyList);
|
|
|
|
|
+ }catch (Exception e){
|
|
|
|
|
+ log.error("addAccountDailyListSD",e);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
if (dailyList.size() >= 1000) {
|
|
if (dailyList.size() >= 1000) {
|
|
|
getAccountDailyRetry(errorId, advertiserId, accessToken, startDate, endDate, page + 1, isSend);
|
|
getAccountDailyRetry(errorId, advertiserId, accessToken, startDate, endDate, page + 1, isSend);
|