Browse Source

订单状态

afa 8 months ago
parent
commit
bebf882e02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/model/ProductOrder.php

+ 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();
     }