Browse Source

余额订单异常

gorden 2 months ago
parent
commit
b62cf7013b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/admin/controller/order/WholeController.php

+ 3 - 0
app/admin/controller/order/WholeController.php

@@ -124,6 +124,9 @@ class WholeController extends Curd
                 ->where('pay_status', 'SUCCESS')
                 ->pluck('join_pay_order_id')
                 ->toArray();
+            if (empty($groupIds)){
+                $groupIds = [''];
+            }
             $where['order_groupby'] = ['in', $groupIds];
         }
         $orderIds = [];