|
|
@ -557,12 +557,14 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
|
} else { |
|
|
|
StringBuffer offLineRangeDesc = new StringBuffer(); |
|
|
|
offLineList.forEach(off -> { |
|
|
|
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); |
|
|
|