Selaa lähdekoodia

小程序app-订单详情

xupuyuan 10 kuukautta sitten
vanhempi
commit
eda615d73d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/common/repositories/store/order/StoreOrderRepository.php

+ 1 - 1
app/common/repositories/store/order/StoreOrderRepository.php

@@ -2679,7 +2679,7 @@ class StoreOrderRepository extends BaseRepository
2679 2679
         $where = [];
2680 2680
         if ($uid) $where['uid'] = $uid;
2681 2681
 
2682
-        $data = $this->dao->search($where)->where('order_sn', $id)->where('is_del', 0)->with([
2682
+        $data = $this->dao->search($where)->where('group_order_id', $id)->where('is_del', 0)->with([
2683 2683
             'orderProduct', 'merchant' => function ($query) {
2684 2684
                 return $query->field('mer_id,mer_name,mer_avatar,business_id');
2685 2685
             }