|
@@ -631,6 +631,9 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
|
|
|
.collect(Collectors.toMap(ContentPlatformGzhAccount::getGhId, Function.identity()));
|
|
|
for (GhDetail ghDetail : ghDetailList) {
|
|
|
ContentPlatformGzhAccount gzhAccount = gzhAccountMap.get(ghDetail.getGhId());
|
|
|
+ if (Objects.isNull(gzhAccount)) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
ContentPlatformGzhPlan gzhPlan = new ContentPlatformGzhPlan();
|
|
|
if (existsAccountIds.contains(gzhAccount.getId())) {
|
|
|
continue;
|
|
@@ -657,6 +660,9 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
|
|
|
continue;
|
|
|
}
|
|
|
List<Long> videoIds = JSONObject.parseArray(ghDetail.getVideoIds(), Long.class);
|
|
|
+ if (CollectionUtils.isEmpty(videoIds)) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
Map<Long, VideoDetail> videoMap = messageAttachmentService.getVideoDetail(new HashSet<>(videoIds));
|
|
|
for (Map.Entry<Long, VideoDetail> entry : videoMap.entrySet()) {
|
|
|
Long videoId = entry.getKey();
|