| 
						
						
							
								
							
						
						
					 | 
					@ -60,33 +60,21 @@ public class IssueServiceImpl implements IssueService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        initiatorFormDTO.setUserId(issueResult.getUserId()); | 
					 | 
					 | 
					        initiatorFormDTO.setUserId(issueResult.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (!StringUtils.isBlank(issueResult.getUserId())) { | 
					 | 
					 | 
					        if (!StringUtils.isBlank(issueResult.getUserId())) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            IssueInitiatorResultDTO initiatorResult = userFeignClient.selectIssueInitiator(initiatorFormDTO).getData(); | 
					 | 
					 | 
					            IssueInitiatorResultDTO initiatorResult = userFeignClient.selectIssueInitiator(initiatorFormDTO).getData(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            if (initiatorResult == null) { | 
					 | 
					 | 
					            issueDetailResult.setIssueInitiator(initiatorResult == null ? HallConstat.NULL_CHARACTER_STRING : initiatorResult.getIssueInitiator()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					                issueDetailResult.setIssueInitiator(""); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } else { | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                issueDetailResult.setIssueInitiator(initiatorResult.getIssueInitiator()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //网格名称
 | 
					 | 
					 | 
					        //网格名称
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        BelongGridNameFormDTO belongGridName = new BelongGridNameFormDTO(); | 
					 | 
					 | 
					        BelongGridNameFormDTO belongGridName = new BelongGridNameFormDTO(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        belongGridName.setGridId(issueResult.getGridId()); | 
					 | 
					 | 
					        belongGridName.setGridId(issueResult.getGridId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (!StringUtils.isBlank(issueResult.getGridId())) { | 
					 | 
					 | 
					        if (!StringUtils.isBlank(issueResult.getGridId())) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            BelongGridNameResultDTO belongGridNameResult = govOrgFeignClient.getGridNameByGridId(belongGridName).getData(); | 
					 | 
					 | 
					            BelongGridNameResultDTO belongGridNameResult = govOrgFeignClient.getGridNameByGridId(belongGridName).getData(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            if (belongGridNameResult == null) { | 
					 | 
					 | 
					            issueDetailResult.setBelongsGridName(belongGridNameResult == null ? HallConstat.NULL_CHARACTER_STRING : belongGridNameResult.getBelongsGridName()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					                issueDetailResult.setBelongsGridName(""); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } else { | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                issueDetailResult.setBelongsGridName(belongGridNameResult.getBelongsGridName()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //话题信息
 | 
					 | 
					 | 
					        //话题信息
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        TopicInfoFormDTO topicInfoFormDTO = new TopicInfoFormDTO(); | 
					 | 
					 | 
					        TopicInfoFormDTO topicInfoFormDTO = new TopicInfoFormDTO(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        topicInfoFormDTO.setTopicId(issueResult.getTopicId()); | 
					 | 
					 | 
					        topicInfoFormDTO.setTopicId(issueResult.getTopicId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (!StringUtils.isBlank(issueResult.getTopicId())) { | 
					 | 
					 | 
					        if (!StringUtils.isBlank(issueResult.getTopicId())) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            TopicInfoDTO topicInfoDTOResult = resiGroupFeignClient.selectDetail(topicInfoFormDTO).getData(); | 
					 | 
					 | 
					            TopicInfoDTO topicInfoDTOResult = resiGroupFeignClient.selectDetail(topicInfoFormDTO).getData(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            if (topicInfoDTOResult == null) { | 
					 | 
					 | 
					            issueDetailResult.setTopicInfo(topicInfoDTOResult == null ? new TopicInfoDTO() : topicInfoDTOResult); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					                issueDetailResult.setTopicInfo(new TopicInfoDTO()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } else { | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                issueDetailResult.setTopicInfo(topicInfoDTOResult); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //判断是否投票
 | 
					 | 
					 | 
					        //判断是否投票
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        CheckVoteFormDTO formDTO = new CheckVoteFormDTO(); | 
					 | 
					 | 
					        CheckVoteFormDTO formDTO = new CheckVoteFormDTO(); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -131,7 +119,7 @@ public class IssueServiceImpl implements IssueService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Override | 
					 | 
					 | 
					    @Override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public void support(TokenDto tokenDto, IssueIdFormDTO issueId) { | 
					 | 
					 | 
					    public void support(TokenDto tokenDto, IssueIdFormDTO issueId) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        VoteFormDTO voteFormDTO = new VoteFormDTO(); | 
					 | 
					 | 
					        VoteFormDTO voteFormDTO = new VoteFormDTO(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        voteFormDTO.setAttitude("support"); | 
					 | 
					 | 
					        voteFormDTO.setAttitude(HallConstat.SUPPORT); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        voteFormDTO.setCreatedBy(tokenDto.getUserId()); | 
					 | 
					 | 
					        voteFormDTO.setCreatedBy(tokenDto.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        voteFormDTO.setIssueId(issueId.getIssueId()); | 
					 | 
					 | 
					        voteFormDTO.setIssueId(issueId.getIssueId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        govIssueFeignClient.vote(voteFormDTO); | 
					 | 
					 | 
					        govIssueFeignClient.vote(voteFormDTO); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -145,7 +133,7 @@ public class IssueServiceImpl implements IssueService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Override | 
					 | 
					 | 
					    @Override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public void oppose(TokenDto tokenDto, IssueIdFormDTO issueId) { | 
					 | 
					 | 
					    public void oppose(TokenDto tokenDto, IssueIdFormDTO issueId) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        VoteFormDTO voteFormDTO = new VoteFormDTO(); | 
					 | 
					 | 
					        VoteFormDTO voteFormDTO = new VoteFormDTO(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        voteFormDTO.setAttitude("opposition"); | 
					 | 
					 | 
					        voteFormDTO.setAttitude(HallConstat.OPPOSITION); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        voteFormDTO.setCreatedBy(tokenDto.getUserId()); | 
					 | 
					 | 
					        voteFormDTO.setCreatedBy(tokenDto.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        voteFormDTO.setIssueId(issueId.getIssueId()); | 
					 | 
					 | 
					        voteFormDTO.setIssueId(issueId.getIssueId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        govIssueFeignClient.vote(voteFormDTO); | 
					 | 
					 | 
					        govIssueFeignClient.vote(voteFormDTO); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |