Ver código fonte

增加ghDetail字段

xueyiming 4 meses atrás
pai
commit
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())) {
             if (!CollectionUtils.isEmpty(ghDetailVo.getVideoIds())) {
                 ghDetail.setVideoIds(JSONObject.toJSONString(ghDetailVo.getVideoIds()));
                 ghDetail.setVideoIds(JSONObject.toJSONString(ghDetailVo.getVideoIds()));
             }
             }
-            ghDetailMapper.insert(ghDetail);
+            ghDetailMapper.insertSelective(ghDetail);
             return CommonResponse.success();
             return CommonResponse.success();
         } catch (Exception e) {
         } catch (Exception e) {
             log.error("addGhDetail error", e);
             log.error("addGhDetail error", e);