|
@@ -179,6 +179,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
private IKuaishouPopulationGroupService populationGroupService;
|
|
|
@Autowired
|
|
|
private IKuaishouAppPackageService appPackageService;
|
|
|
+
|
|
|
@Override
|
|
|
public void getAdvertiserReportHourly(CtopOauthToken token, Date startDate, Date endDate) {
|
|
|
try {
|
|
@@ -2797,7 +2798,9 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
|
|
|
}
|
|
|
}
|
|
|
- populationService.replaceBatch(addList);
|
|
|
+ if (!Check.isNull(addList)) {
|
|
|
+ populationService.replaceBatch(addList);
|
|
|
+ }
|
|
|
getPopulationList(accountId, accessToken, page + 1);
|
|
|
} else {
|
|
|
log.error("获取人群包管理返回数据为空,accountId:{}", accountId);
|