afa 8 сар өмнө
parent
commit
bebf882e02

+ 1 - 1
application/common/model/ProductOrder.php

@@ -115,7 +115,7 @@ class ProductOrder extends Model
         return self::alias('a')->where('a.id', $orderId)
                 ->join("product_list b", "a.product_id = b.id", "left")
                 ->field('a.*,'.$field)
-                ->where('status', $status)
+                ->where('a.status', $status)
                 ->find();
     }