|
|
@@ -93,8 +93,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
promoterReportMapper.replacePromoterReportHour(hours);
|
|
|
try {
|
|
|
promoterReportMapper.replacePromoterReportHourSD(hours);
|
|
|
- }catch (Exception e) {
|
|
|
- log.error("",e);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("", e);
|
|
|
}
|
|
|
}
|
|
|
if (hours.size() >= 100) {
|
|
|
@@ -177,8 +177,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
promoterReportMapper.replacePromoterReportDailies(promoterReportDailies);
|
|
|
try {
|
|
|
promoterReportMapper.replacePromoterReportDailiesSD(promoterReportDailies);
|
|
|
- }catch (Exception e) {
|
|
|
- log.error("",e);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("", e);
|
|
|
}
|
|
|
log.info("账户ID:{},广告日报(最细粒度)数据请求成功", advertiserId);
|
|
|
}
|
|
|
@@ -283,7 +283,7 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
promoterReportMapper.replacePromoterReportHour(hours);
|
|
|
try {
|
|
|
promoterReportMapper.replacePromoterReportHourSD(hours);
|
|
|
- }catch (Exception e) {
|
|
|
+ } catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
}
|
|
|
@@ -371,6 +371,7 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
errorInfo.setEndDate(endDate);
|
|
|
errorInfo.setDataDimension("promoter");
|
|
|
errorInfo.setDataType("daily");
|
|
|
+ errorInfo.setMsg(result.getString("message"));
|
|
|
promoterReportMapper.replaceErrorInfo(errorInfo);
|
|
|
}
|
|
|
return;
|
|
|
@@ -379,8 +380,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
promoterReportMapper.replacePromoterReportDailies(promoterReportDailies);
|
|
|
try {
|
|
|
promoterReportMapper.replacePromoterReportDailiesSD(promoterReportDailies);
|
|
|
- }catch (Exception e) {
|
|
|
- log.error("",e);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("", e);
|
|
|
}
|
|
|
log.info("账户ID:{},广告日报(最细粒度)数据请求成功", advertiserId);
|
|
|
}
|