From 9fb5c0db59610e1abb4bad1d990b0fe78c2fe678 Mon Sep 17 00:00:00 2001 From: jianjun Date: Mon, 15 Jun 2020 17:06:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E6=93=8D=E4=BD=9C=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=20=E6=B7=BB=E5=8A=A0=E4=B8=8B=E7=BA=BF=E7=BD=91?= =?UTF-8?q?=E6=A0=BCIds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/epmet/service/impl/ArticleServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/ArticleServiceImpl.java b/epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/ArticleServiceImpl.java index d834b9a829..0b3fe16099 100644 --- a/epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/ArticleServiceImpl.java +++ b/epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/ArticleServiceImpl.java @@ -557,12 +557,14 @@ public class ArticleServiceImpl extends BaseServiceImpl { - offLineGridId.append(StrConstant.COLON).append(off.getGridId()); offLineRangeDesc.append(offLineRangeDesc.length() > NumConstant.ZERO ? StrConstant.COMMA_ZH : ""); offLineRangeDesc.append(off.getAgencyGridName()); }); content = String.format(ArticleConstant.OFF_LINE_ARTICLE_MSG, articleEntity.getPublisherName(), staffDTO.getRealName(), articleEntity.getTitle(), offLineRangeDesc); } + offLineList.forEach(off -> { + offLineGridId.append(StrConstant.COLON).append(off.getGridId()); + }); recordEntity.setGridIds(offLineGridId.toString().replaceFirst(StrConstant.COLON,"")); recordEntity.setContent(content); recordEntity.setOpType(ArticleConstant.OFFLINE);