Parcourir la source

小程序app-订单详情

xupuyuan il y a 10 mois
Parent
commit
e46ad9778e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
         $where = [];
2679
         $where = [];
2680
 //        if ($uid) $where['uid'] = $uid;
2680
 //        if ($uid) $where['uid'] = $uid;
2681
 
2681
 
2682
-        $data = $this->dao->search($where)->where('group_order_id', $id)->where('is_del', 0)->with([
2682
+        $data = $this->dao->search($where)->where('order_sn', $id)->where('is_del', 0)->with([
2683
             'orderProduct', 'merchant' => function ($query) {
2683
             'orderProduct', 'merchant' => function ($query) {
2684
                 return $query->field('mer_id,mer_name,mer_avatar,business_id');
2684
                 return $query->field('mer_id,mer_name,mer_avatar,business_id');
2685
             }
2685
             }