| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -219,6 +219,12 @@ public class IssueVoteStatisticalServiceImpl extends BaseServiceImpl<IssueVoteSt | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                DateUtils.format(new Date(),DATE_PATTERN) : | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                DateUtils.format(issueEntity.getVotingDeadline(),DATE_PATTERN); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        List<PolyLineDTO> polyLine = getPolyLine(startDate, endDate); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        String today = LocalDate.now().toString(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (today.equals(endDate)){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            PolyLineDTO polyLineDTO = issueVoteDetailDao.polyLineData(issueId.getIssueId(), endDate); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            polyLine.get(polyLine.size() - NumConstant.ONE).setSupportIncrement(polyLineDTO.getSupportIncrement()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            polyLine.get(polyLine.size() - NumConstant.ONE).setOppositionIncrement(polyLineDTO.getOppositionIncrement()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (CollectionUtils.isEmpty(polyLineDTOS)){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            votingTrendResultDTO.setPolyLine(polyLine); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            return votingTrendResultDTO; | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -231,12 +237,6 @@ public class IssueVoteStatisticalServiceImpl extends BaseServiceImpl<IssueVoteSt | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        String today = LocalDate.now().toString(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (today.equals(endDate)){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            PolyLineDTO polyLineDTO = issueVoteDetailDao.polyLineData(issueId.getIssueId(), endDate); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            polyLine.get(polyLine.size() - NumConstant.ONE).setSupportIncrement(polyLineDTO.getSupportIncrement()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            polyLine.get(polyLine.size() - NumConstant.ONE).setOppositionIncrement(polyLineDTO.getOppositionIncrement()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //今天刚转项目或刚刚关闭,当天数据DB没有,直接从缓存拿
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        /*if (polyLineDTOS.size() == NumConstant.ZERO && date.equals(LocalDate.now().toString())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            polyLineDTO.setSupportIncrement(voteRedisFormDTO.getSupportAmount()); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |