APPLE 3 лет назад
Родитель
Сommit
03d80686fb
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/Services/Common/TradeService.php

+ 1 - 0
app/Services/Common/TradeService.php

@@ -125,6 +125,7 @@ class TradeService extends BaseService
                         $query->where('a.user_id', '=', $userId);
                         $query->whereNotIn('a.sell_uid', [$userId]);
                     }else if($status == 2){
+                        $query->where('a.sell_uid', '=',$userId);
                         $query->whereNotIn('a.user_id', [$userId]);
                     }else{
                         $query->where('a.user_id', '=', $userId);