From ae5978bba53c50013e0d906981322ce133d15518 Mon Sep 17 00:00:00 2001 From: x ronger Date: Sat, 26 Sep 2020 14:13:06 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=97=A0=E6=B3=95=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E8=8D=89=E7=A8=BF=E8=87=B3=E6=96=87=E7=AB=A0=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/rymcu/vertical/service/impl/ArticleServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rymcu/vertical/service/impl/ArticleServiceImpl.java b/src/main/java/com/rymcu/vertical/service/impl/ArticleServiceImpl.java index c77716e..74a1349 100644 --- a/src/main/java/com/rymcu/vertical/service/impl/ArticleServiceImpl.java +++ b/src/main/java/com/rymcu/vertical/service/impl/ArticleServiceImpl.java @@ -194,7 +194,7 @@ public class ArticleServiceImpl extends AbstractService
implements Arti String articlePreviewContent = articleContentHtml.substring(0, length); newArticle.setArticlePreviewContent(Html2TextUtil.getContent(articlePreviewContent)); } - articleMapper.updateArticleLinkAndPreviewContent(newArticle.getIdArticle(), newArticle.getArticleLink(), newArticle.getArticlePermalink(), newArticle.getArticlePreviewContent()); + articleMapper.updateByPrimaryKeySelective(newArticle); // 推送百度 SEO if (!ProjectConstant.ENV.equals(env)