Parcourir la source

fix sql order error

stanley-king il y a 1 an
Parent
commit
00fe7b984a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      helper/statistics/order_reader.php

+ 1 - 1
helper/statistics/order_reader.php

@@ -6,7 +6,7 @@ use function PHPUnit\Framework\isNull;
 
 class order_reader
 {
-    public function refill_vr_reader($cond,$order='order_id asc')
+    public function refill_vr_reader($cond,$order='refill_order.order_id asc')
     {
         $result = Model('')->table('refill_order,vr_order')
             ->field('min(refill_order.order_id) as min_oid,max(vr_order.order_id) as max_oid')