LiuJ 3 days ago
parent
commit
15b38fa13e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -2416,7 +2416,7 @@ class NewsService implements NewsServiceInterface
             ->when(!empty($data['status1']), function ($query) use ($data) {
                 $query->whereIn('complaint.status', [1, 3]);   //1待审核2已审核3已拒绝
             })
-            ->when(!empty($data['deal_user']), function ($query) use ($data) {
+            ->when(!empty($data['deal_user'])  &&  $type_id != 10000, function ($query) use ($data) {
                 //json  re_user_ids   data[user_id]是不是在里面 
                 $query->whereRaw('JSON_CONTAINS(complaint.re_user_ids, \'' . $data['user_id'] . '\')');
             })