Browse Source

项目发送到第三方平台

master
zhaoqifeng 4 years ago
parent
commit
d99618d433
  1. 6
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectServiceImpl.java

6
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectServiceImpl.java

@ -2181,12 +2181,12 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit
IssueDetailFormDTO issueDetailFormDTO = new IssueDetailFormDTO();
issueDetailFormDTO.setIssueId(projectEntity.getOriginId());
Result<GovIssueDetailResultDTO> issueDetail = govIssueOpenFeignClient.votingissuedetail(issueDetailFormDTO);
if (!issueDetail.success()) {
if (!issueDetail.success() || null == issueDetail.getData()) {
throw new RenException(issueDetail.getCode(), issueDetail.getMsg());
}
//获取话题详情
Result<ResiTopicDTO> topic = resiGroupOpenFeignClient.getTopicById(issueDetail.getData().getTopicInfo().getTopicId());
if (!topic.success()) {
if (!topic.success() || null == topic.getData()) {
throw new RenException(topic.getCode(), topic.getMsg());
}
applyAssistFormDTO.setLatitude(topic.getData().getDimension());
@ -2198,7 +2198,7 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit
TopicAttachmentFormDTO topicAttachmentFormDTO = new TopicAttachmentFormDTO();
topicAttachmentFormDTO.setTopicId(issueDetail.getData().getTopicInfo().getTopicId());
Result<TopicAttachmentResultDTO> topicAttachment = resiGroupOpenFeignClient.topicAttachmentList(topicAttachmentFormDTO);
if (!topicAttachment.success()) {
if (!topicAttachment.success() || null == topicAttachment.getData()) {
throw new RenException(topicAttachment.getCode(), topicAttachment.getMsg());
}
if (CollectionUtils.isNotEmpty(issueDetail.getData().getTopicInfo().getPhotoList())) {

Loading…
Cancel
Save