|
@@ -93,7 +93,7 @@ public class MatchVideoServiceImpl implements MatchVideoService {
|
|
|
List<LongArticlesMatchVideo> existLongArticlesMatchVideo =
|
|
|
longArticlesMatchVideoRepository.getByContentIdAndGhIdAndPublishFlag(searchVideoParam.getArticleId(),
|
|
|
searchVideoParam.getGhId(), publishFlag);
|
|
|
- if (existLongArticlesMatchVideo == null) {
|
|
|
+ if (CollectionUtils.isEmpty(existLongArticlesMatchVideo)) {
|
|
|
traceId = String.format("search-%s-%s", UUID.randomUUID(), System.currentTimeMillis() / 1000);
|
|
|
LongArticlesMatchVideo longArticlesMatchVideo = new LongArticlesMatchVideo();
|
|
|
longArticlesMatchVideo.setTraceId(traceId);
|