Merge branch 'feature/purchase_record' into dev
This commit is contained in:
commit
31c8cd4748
@ -85,7 +85,7 @@ class StoreGroupOrderRepository extends BaseRepository
|
||||
if ($this->productType !== '') {
|
||||
$where['product_type'] = $this->productType;
|
||||
}
|
||||
return $this->search($where)->where('group_order_id', $id)->with(['orderList' => function (Relation $query) use ($flag) {
|
||||
return $this->search($where)->where('StoreGroupOrder.group_order_id', $id)->with(['orderList' => function (Relation $query) use ($flag) {
|
||||
$query->when($flag, function ($query) {
|
||||
$query->field('order_id,group_order_id,mer_id,order_sn,activity_type,pay_price,order_extend,order_type,is_virtual');
|
||||
})->with(['merchant' => function ($query) use ($flag) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user