瀏覽代碼

订单状态

afa 9 月之前
父節點
當前提交
bebf882e02
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();
     }