| 
						
						
							
								
							
						
						
					 | 
					@ -190,27 +190,15 @@ public class IssueVoteStatisticalServiceImpl extends BaseServiceImpl<IssueVoteSt | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } else { | 
					 | 
					 | 
					        } else { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            //折线数据=DB+Redis,今天之前转成的议题,今天 “已转项目”或“已结案”
 | 
					 | 
					 | 
					            //折线数据=DB+Redis,今天之前转成的议题,今天 “已转项目”或“已结案”
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if (date.equals(LocalDate.now().toString())) { | 
					 | 
					 | 
					            if (date.equals(LocalDate.now().toString())) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                Integer yesterdaySupport = NumConstant.ZERO; | 
					 | 
					 | 
					                polyLineDTO.setSupportIncrement(voteRedisFormDTO.getSupportAmount()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                Integer yesterdayOppose = NumConstant.ZERO; | 
					 | 
					 | 
					                polyLineDTO.setOppositionIncrement(voteRedisFormDTO.getOppositionAmount()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					                for (PolyLineDTO lineDTO : polyLineDTOS) { | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    yesterdaySupport += lineDTO.getSupportIncrement(); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    yesterdayOppose += lineDTO.getOppositionIncrement(); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                polyLineDTO.setSupportIncrement(voteRedisFormDTO.getSupportAmount() == NumConstant.ZERO ? NumConstant.ZERO : voteRedisFormDTO.getSupportAmount() - yesterdaySupport); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                polyLineDTO.setOppositionIncrement(voteRedisFormDTO.getOppositionAmount() == NumConstant.ZERO ? NumConstant.ZERO : voteRedisFormDTO.getOppositionAmount() - yesterdayOppose); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                polyLineDTOS.add(polyLineDTO); | 
					 | 
					 | 
					                polyLineDTOS.add(polyLineDTO); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            //从古至今一直在表决中
 | 
					 | 
					 | 
					            //从古至今一直在表决中
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            IssueEntity issueEntity = issueDao.selectById(issueId.getIssueId()); | 
					 | 
					 | 
					            IssueEntity issueEntity = issueDao.selectById(issueId.getIssueId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if (issueEntity.getIssueStatus().equals(IssueConstant.ISSUE_VOTING)){ | 
					 | 
					 | 
					            if (issueEntity.getIssueStatus().equals(IssueConstant.ISSUE_VOTING)){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                Integer yesterdaySupport = NumConstant.ZERO; | 
					 | 
					 | 
					                polyLineDTO.setSupportIncrement(voteRedisFormDTO.getSupportAmount()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                Integer yesterdayOppose = NumConstant.ZERO; | 
					 | 
					 | 
					                polyLineDTO.setOppositionIncrement(voteRedisFormDTO.getOppositionAmount()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					                for (PolyLineDTO lineDTO : polyLineDTOS) { | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    yesterdaySupport += lineDTO.getSupportIncrement(); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    yesterdayOppose += lineDTO.getOppositionIncrement(); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                polyLineDTO.setSupportIncrement(voteRedisFormDTO.getSupportAmount() == NumConstant.ZERO ? NumConstant.ZERO : voteRedisFormDTO.getSupportAmount() - yesterdaySupport); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                polyLineDTO.setOppositionIncrement(voteRedisFormDTO.getOppositionAmount() == NumConstant.ZERO ? NumConstant.ZERO : voteRedisFormDTO.getOppositionAmount() - yesterdayOppose); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                polyLineDTOS.add(polyLineDTO); | 
					 | 
					 | 
					                polyLineDTOS.add(polyLineDTO); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |