|  |  | @@ -21,8 +21,8 @@ from utils.kuaidi.subscribe import KuaiDi100 as KuaiDi100Subscribe | 
            
            
              | 21 | 21 |   | 
            
            
              | 22 | 22 |  @logit | 
            
            
              | 23 | 23 |  def shot_list(request): | 
            
            
              | 24 |  | -    shots = TenancyShotInfo.objects.values('model_id').filter(tenancy_status=0, status=True).order_by('model_id') | 
            
            
              | 25 |  | -    shots = [shot['model_id'] for shot in shots] | 
            
            
              |  | 24 | +    shots = TenancyShotInfo.objects.values_list('model_id', flat=True).filter(tenancy_status=0, status=True).order_by('model_id') | 
            
            
              |  | 25 | +    shots = set(shots) | 
            
            
              | 26 | 26 |      shots = ModelInfo.objects.filter(model_id__in=shots) | 
            
            
              | 27 | 27 |      shots = [shot.admindata for shot in shots] | 
            
            
              | 28 | 28 |   |