Commit 0926f511 authored by 刘基明's avatar 刘基明

消息通知添加话题信息 fix

parent 54647c2d
......@@ -82,10 +82,11 @@ public class TopicService {
}
public String queryTitleById(String topicId) {
return topicMapper.selectOne(new LambdaQueryWrapper<TopicEntity>()
TopicEntity topicEntity = topicMapper.selectOne(new LambdaQueryWrapper<TopicEntity>()
.eq(TopicEntity::getTopicId, topicId)
.eq(TopicEntity::getIsConceal, StatusEnum.FALSE)
.eq(TopicEntity::getDeleteTag, StatusEnum.FALSE)).getTopicTitle();
.eq(TopicEntity::getDeleteTag, StatusEnum.FALSE));
return topicEntity!=null?topicEntity.getTopicTitle():null;
}
public List<TopicEntity> queryByIds(List<String> topicIds) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment