|
@ -218,6 +218,12 @@ public class YtTopicServiceImpl extends BaseServiceImpl<YtTopicDao, YtTopicEntit |
|
|
} else { |
|
|
} else { |
|
|
result.setVoteStatus(TopicConstant.NONE); |
|
|
result.setVoteStatus(TopicConstant.NONE); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
GridInfoCache gridInfo = CustomerOrgRedis.getGridInfo(entity.getGridId()); |
|
|
|
|
|
if (null != gridInfo) { |
|
|
|
|
|
result.setGridName(gridInfo.getGridNamePath()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return result; |
|
|
return result; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -257,6 +263,10 @@ public class YtTopicServiceImpl extends BaseServiceImpl<YtTopicDao, YtTopicEntit |
|
|
} else { |
|
|
} else { |
|
|
item.setReleaseUserFlag("other"); |
|
|
item.setReleaseUserFlag("other"); |
|
|
} |
|
|
} |
|
|
|
|
|
GridInfoCache gridInfo = CustomerOrgRedis.getGridInfo(item.getGridId()); |
|
|
|
|
|
if (null != gridInfo) { |
|
|
|
|
|
item.setGridName(gridInfo.getGridNamePath()); |
|
|
|
|
|
} |
|
|
//获取附件图片
|
|
|
//获取附件图片
|
|
|
LambdaQueryWrapper<YtTopicAttachmentEntity> imgWrapper = new LambdaQueryWrapper<>(); |
|
|
LambdaQueryWrapper<YtTopicAttachmentEntity> imgWrapper = new LambdaQueryWrapper<>(); |
|
|
imgWrapper.eq(YtTopicAttachmentEntity::getTopicId, item.getTopicId()); |
|
|
imgWrapper.eq(YtTopicAttachmentEntity::getTopicId, item.getTopicId()); |
|
|