|
@ -118,7 +118,6 @@ import org.springframework.stereotype.Service; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.util.CollectionUtils; |
|
|
import org.springframework.util.CollectionUtils; |
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
|
|
|
import java.text.SimpleDateFormat; |
|
|
import java.text.SimpleDateFormat; |
|
|
import java.util.*; |
|
|
import java.util.*; |
|
|
import java.util.stream.Collectors; |
|
|
import java.util.stream.Collectors; |
|
@ -801,15 +800,13 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
pointEventMsgList.add(pointEventMsg); |
|
|
pointEventMsgList.add(pointEventMsg); |
|
|
|
|
|
|
|
|
mqBaseMsgDTO.setMsg(JSON.toJSONString(pointEventMsgList)); |
|
|
mqBaseMsgDTO.setMsg(JSON.toJSONString(pointEventMsgList)); |
|
|
if(!SendMqMsgUtils.sendMsg(mqBaseMsgDTO).success()){ |
|
|
if (!SendMqMsgUtils.sendMsg(mqBaseMsgDTO).success()) { |
|
|
log.error("组长解决话题事件发送失败,参数:{}",JSON.toJSONString(closeFormDTO)); |
|
|
log.error("组长解决话题事件发送失败,参数:{}", JSON.toJSONString(closeFormDTO)); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//2021.4.22 start sun 因业务调整,新增组内消息记录表,话题状态变化时相应的修改数据状态
|
|
|
//2021.4.22 start sun 因业务调整,新增组内消息记录表,话题状态变化时相应的修改数据状态
|
|
|
GroupMessageEntity groupMessage = groupMessageDao.selectByMessageId(closeFormDTO.getTopicId()); |
|
|
GroupMessageEntity groupMessage = groupMessageDao.selectByMessageId(closeFormDTO.getTopicId()); |
|
|
if(null != groupMessage){ |
|
|
if (null != groupMessage) { |
|
|
groupMessage.setStatus(TopicConstant.CLOSED); |
|
|
groupMessage.setStatus(TopicConstant.CLOSED); |
|
|
groupMessageDao.updateById(groupMessage); |
|
|
groupMessageDao.updateById(groupMessage); |
|
|
} |
|
|
} |
|
|