|
|
@ -2034,12 +2034,13 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
|
pointEventMsg.setUserId(topic.getCreatedBy()); |
|
|
|
pointEventMsg.setActionFlag(MqConstant.PLUS); |
|
|
|
pointEventMsg.setIsCommon(false); |
|
|
|
pointEventMsg.setEventTag(EventEnum.TOPIC_SHIFTED_TO_ISSUE.getEventTag()); |
|
|
|
pointEventMsg.setEventTag(EventEnum.TOPIC_SHIFTED_TO_PROJECT.getEventTag()); |
|
|
|
//某某小组中发布的话题“某某某…” (前十个字后面省略号) 被转为议题
|
|
|
|
String content = CharMatcher.WHITESPACE.trimFrom(topic.getTopicContent()); |
|
|
|
pointEventMsg.setRemark(new StringBuilder(group.getGroupName()).append("小组中发布的") |
|
|
|
.append( |
|
|
|
StringUtils.isBlank(content) ? "语音话题" : |
|
|
|
StringUtils.isBlank(content) || |
|
|
|
StringUtils.equals("语音话题",content) ? "语音话题" : |
|
|
|
"话题\"" + |
|
|
|
content |
|
|
|
.substring(NumConstant.ZERO,content.length() < NumConstant.TEN ? content.length() : NumConstant.TEN) |
|
|
|