|
|
@@ -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
|
}
|