彭俊 6 سال پیش
والد
کامیت
76b892e5f7
4فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 1 0
      app/Http/Model/StBqResult.php
  2. 1 0
      app/Http/Model/StLqResult.php
  3. 1 0
      app/Http/Model/StWqResult.php
  4. 1 0
      app/Http/Model/StZqResult.php

+ 1 - 0
app/Http/Model/StBqResult.php

@@ -286,6 +286,7 @@ class StBqResult extends Model
                 $match_ids[] = $v['id'];
             }
         }
+        if(empty($match_ids)) return Response::success();
 
         $match_ids_str = implode(",", $match_ids);
          // 组装sql

+ 1 - 0
app/Http/Model/StLqResult.php

@@ -286,6 +286,7 @@ class StLqResult extends Model
                 $match_ids[] = $v['id'];
             }
         }
+        if(empty($match_ids)) return Response::success();
 
         $match_ids_str = implode(",", $match_ids);
 

+ 1 - 0
app/Http/Model/StWqResult.php

@@ -301,6 +301,7 @@ class StWqResult extends Model
                 $match_ids[] = $v['id'];
             }
         }
+        if(empty($match_ids)) return Response::success();
 
         $match_ids_str = implode(",", $match_ids);
 

+ 1 - 0
app/Http/Model/StZqResult.php

@@ -353,6 +353,7 @@ class StZqResult extends Model
                 $match_ids[] = $v['id'];
             }
         }
+        if(empty($match_ids)) return Response::success();
 
         $match_ids_str = implode(",", $match_ids);