| 
						
						
							
								
							
						
						
					 | 
					@ -41,6 +41,7 @@ import org.springframework.transaction.annotation.Transactional; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.springframework.util.CollectionUtils; | 
					 | 
					 | 
					import org.springframework.util.CollectionUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import java.util.Arrays; | 
					 | 
					 | 
					import java.util.Arrays; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import java.util.LinkedList; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import java.util.List; | 
					 | 
					 | 
					import java.util.List; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import java.util.Map; | 
					 | 
					 | 
					import java.util.Map; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import java.util.stream.Collectors; | 
					 | 
					 | 
					import java.util.stream.Collectors; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -142,8 +143,9 @@ public class ProjectTagsServiceImpl extends BaseServiceImpl<ProjectTagsDao, Proj | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if(null != orientIds && null == newIds) differentSet.setMinus(orientIds); | 
					 | 
					 | 
					        if(null != orientIds && null == newIds) differentSet.setMinus(orientIds); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if(null == orientIds && null != newIds) differentSet.setPlus(newIds); | 
					 | 
					 | 
					        if(null == orientIds && null != newIds) differentSet.setPlus(newIds); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if(null != orientIds && null != newIds){ | 
					 | 
					 | 
					        if(null != orientIds && null != newIds){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            List<String> replaceNews = new LinkedList<>(newIds); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            differentSet.setPlus(newIds.removeAll(orientIds) ? newIds : null); | 
					 | 
					 | 
					            differentSet.setPlus(newIds.removeAll(orientIds) ? newIds : null); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            differentSet.setMinus(orientIds.removeAll(newIds) ? orientIds : null); | 
					 | 
					 | 
					            differentSet.setMinus(orientIds.removeAll(replaceNews) ? orientIds : null); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Result result = issueClient.updateCitations(differentSet); | 
					 | 
					 | 
					        Result result = issueClient.updateCitations(differentSet); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if(!result.success()) throw new RenException(result.getInternalMsg()); | 
					 | 
					 | 
					        if(!result.success()) throw new RenException(result.getInternalMsg()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |