|  |  | @ -30,6 +30,13 @@ public class SupCompanyServiceImpl implements SupCompanyService { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Override |  |  |  |     @Override | 
			
		
	
		
		
			
				
					
					|  |  |  |     public List<SupCompanyEntity> filterCompany(FilterSupCompanyRequest companyRequest) { |  |  |  |     public List<SupCompanyEntity> filterCompany(FilterSupCompanyRequest companyRequest) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (companyRequest == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return Collections.emptyList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (companyRequest.getPage() != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             int offset = (companyRequest.getPage() - 1) * companyRequest.getLimit(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             PageHelper.offsetPage(offset, companyRequest.getLimit()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         return supCompanyDao.filterCompany(companyRequest); |  |  |  |         return supCompanyDao.filterCompany(companyRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |