Browse Source

Merge remote-tracking branch 'origin/dev_bugfix' into dev_temp

dev_shibei_match
zxc 5 years ago
parent
commit
ec4e77feb6
  1. 6
      epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/topic/service/impl/ResiTopicServiceImpl.java

6
epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/topic/service/impl/ResiTopicServiceImpl.java

@ -1177,7 +1177,11 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi
//话题发起人
IssueInitiatorFormDTO issueInitiator = new IssueInitiatorFormDTO();
issueInitiator.setUserId(topicInfo.getPublishedUser());
IssueInitiatorResultDTO issueInitiatorResult = epmetUserFeignClient.selectIssueInitiator(issueInitiator).getData();
Result<IssueInitiatorResultDTO> r = epmetUserFeignClient.selectIssueInitiator(issueInitiator);
if (!r.success()){
throw new RenException("查询话题发起人失败......");
}
IssueInitiatorResultDTO issueInitiatorResult = r.getData();
if (!StringUtils.isBlank(issueInitiatorResult.getIssueInitiator())) {
topicInfo.setPublishedUser(issueInitiatorResult.getIssueInitiator());
}

Loading…
Cancel
Save