ソースを参照

Merge branch 'dev-xym-fix' of Server/long-article-recommend into master

xueyiming 7 ヶ月 前
コミット
87bb2200e2

+ 1 - 3
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/exterior/impl/GhDetailServiceImpl.java

@@ -124,9 +124,7 @@ public class GhDetailServiceImpl implements GhDetailService {
             }
             ghDetail.setGhId(ghDetailVo.getAccountId());
             ghDetail.setGhName(ghDetailVo.getAccountName());
-            if (!CollectionUtils.isEmpty(ghDetailVo.getVideoIds())) {
-                ghDetail.setVideoIds(JSONObject.toJSONString(ghDetailVo.getVideoIds()));
-            }
+            ghDetail.setVideoIds(JSONObject.toJSONString(ghDetailVo.getVideoIds()));
             ghDetailMapper.updateByPrimaryKeySelective(ghDetail);
             return CommonResponse.success();
         } catch (Exception e) {