|
@@ -315,11 +315,10 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
if (!Check.isNull(type)) {
|
|
if (!Check.isNull(type)) {
|
|
kuaiShouVideoGet.setMaterialType(type);
|
|
kuaiShouVideoGet.setMaterialType(type);
|
|
}
|
|
}
|
|
-
|
|
|
|
- // kuaiShouVideoGetService.saveOrUpdate(kuaiShouVideoGet);
|
|
|
|
- videoGets.add(kuaiShouVideoGet);
|
|
|
|
|
|
+ kuaiShouVideoGetService.saveOrUpdate(kuaiShouVideoGet);
|
|
|
|
+ // videoGets.add(kuaiShouVideoGet);
|
|
}
|
|
}
|
|
- kuaiShouVideoGetService.replaceBatch(videoGets);
|
|
|
|
|
|
+ // kuaiShouVideoGetService.replaceBatch(videoGets);
|
|
getVideoListByPage(token, startDate, endDate, page + 1);
|
|
getVideoListByPage(token, startDate, endDate, page + 1);
|
|
|
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
@@ -3427,9 +3426,10 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
kuaiShouVideoGet.setId("" + accountId + kuaiShouVideoGet.getPhotoId());
|
|
kuaiShouVideoGet.setId("" + accountId + kuaiShouVideoGet.getPhotoId());
|
|
kuaiShouVideoGet.setCreateTime(new Date());
|
|
kuaiShouVideoGet.setCreateTime(new Date());
|
|
kuaiShouVideoGet.setUpdateTime(new Date());
|
|
kuaiShouVideoGet.setUpdateTime(new Date());
|
|
- videoGets.add(kuaiShouVideoGet);
|
|
|
|
|
|
+ // videoGets.add(kuaiShouVideoGet);
|
|
|
|
+ kuaiShouVideoGetService.saveOrUpdate(kuaiShouVideoGet);
|
|
}
|
|
}
|
|
- kuaiShouVideoGetService.replaceBatch(videoGets);
|
|
|
|
|
|
+ // kuaiShouVideoGetService.replaceBatch(videoGets);
|
|
getVideoList(token, accountId, startDate, endDate, page + 1);
|
|
getVideoList(token, accountId, startDate, endDate, page + 1);
|
|
}
|
|
}
|
|
|
|
|