Explorar el Código

余额订单异常

gorden hace 2 meses
padre
commit
b62cf7013b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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 = [];