xueyiming 4 місяців тому
батько
коміт
ac287d9aab

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

@@ -103,7 +103,7 @@ public class GhDetailServiceImpl implements GhDetailService {
             if (!CollectionUtils.isEmpty(ghDetailVo.getVideoIds())) {
                 ghDetail.setVideoIds(JSONObject.toJSONString(ghDetailVo.getVideoIds()));
             }
-            ghDetailMapper.insert(ghDetail);
+            ghDetailMapper.insertSelective(ghDetail);
             return CommonResponse.success();
         } catch (Exception e) {
             log.error("addGhDetail error", e);