| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -107,7 +107,16 @@ public class CategoryServiceImpl extends ServiceImpl<CategoryDao, Category> impl | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public List<Category> getByPIds(List<Integer> idList) { | 
					 | 
					 | 
					 | 
					    public List<Category> getByPIds(List<Integer> idList) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        LambdaQueryWrapper<Category> lambdaQueryWrapper = new LambdaQueryWrapper<>(); | 
					 | 
					 | 
					 | 
					        LambdaQueryWrapper<Category> lambdaQueryWrapper = new LambdaQueryWrapper<>(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        lambdaQueryWrapper.in(Category::getPid, idList); | 
					 | 
					 | 
					 | 
					        lambdaQueryWrapper.in(Category::getPid, idList); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return dao.selectList(lambdaQueryWrapper); | 
					 | 
					 | 
					 | 
					        List<Category>  two  =  dao.selectList(lambdaQueryWrapper); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (CollUtil.isEmpty(two)){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            return two; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        List<Integer> twoIds=two.stream().map(Category::getId).collect(Collectors.toList()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        LambdaQueryWrapper<Category> lambdaQueryWrapper2 = new LambdaQueryWrapper<>(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        lambdaQueryWrapper2.in(Category::getPid, twoIds); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        List<Category>  three  =  dao.selectList(lambdaQueryWrapper2); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        two.addAll(three); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        return two; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    /** | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |