From 1d28c69a351ae108f4116a10f19f615c89a660a2 Mon Sep 17 00:00:00 2001
From: admin <2780501319@qq.com>
Date: 星期四, 01 四月 2021 01:58:43 +0800
Subject: [PATCH] 首页数据修改

---
 src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java b/src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java
index 33c24fc..160337d 100644
--- a/src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java
+++ b/src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java
@@ -50,6 +50,8 @@
 
     @Override
     public void batchExtra(List<VideoInfo> videoInfoList) {
+        if (videoInfoList == null || videoInfoList.size() == 0)
+            return;
         List<String> ids = new ArrayList<>();
         for (VideoInfo videoInfo : videoInfoList) {
             ids.add(videoInfo.getId());

--
Gitblit v1.8.0