| 
					
				 | 
			
			
				@@ -88,7 +88,7 @@ public class SpSj2017ServiceImpl extends AbstractCrudService<SpSj2017Mapper, SpS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         String companyCode = requestVO.get("companyCode").toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         QueryWrapper<SpSj2017> queryWrapper1 = Wrappers.query(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         queryWrapper1.select("DISTINCT device_code") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                .inSql("device_code", "SELECT device_code FROM yt_device_status WHERE company_code = '" + companyCode + "'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .inSql("device_code", "SELECT owner_code FROM sp_owner WHERE company = '" + companyCode + "'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<SpSj2017> SpSj2017 = this.list(queryWrapper1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Integer deviceCount = SpSj2017.size(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return deviceCount; 
			 |