|
@@ -355,7 +355,7 @@ class StoreRefundOrderRepository extends BaseRepository
|
|
355
|
}
|
355
|
}
|
|
356
|
$query->with(['order' => function ($query) {
|
356
|
$query->with(['order' => function ($query) {
|
|
357
|
$query->field('order_id,order_sn,douhuomall,alibaba_order_id');
|
357
|
$query->field('order_id,order_sn,douhuomall,alibaba_order_id');
|
|
358
|
- }, 'refundProduct.product', 'user' => function ($query) {
|
|
|
|
|
|
358
|
+ }, 'refundProduct.product','alibabaRefund', 'user' => function ($query) {
|
|
359
|
$query->field('uid,nickname,phone');
|
359
|
$query->field('uid,nickname,phone');
|
|
360
|
}])->order('create_time DESC');
|
360
|
}])->order('create_time DESC');
|
|
361
|
$count = $query->count();
|
361
|
$count = $query->count();
|
|
@@ -413,7 +413,7 @@ class StoreRefundOrderRepository extends BaseRepository
|
|
413
|
$query->field('order_id,order_sn,douhuomall,alibaba_order_id');
|
413
|
$query->field('order_id,order_sn,douhuomall,alibaba_order_id');
|
|
414
|
}, 'merchant' => function ($query) {
|
414
|
}, 'merchant' => function ($query) {
|
|
415
|
$query->field('mer_id,mer_name');
|
415
|
$query->field('mer_id,mer_name');
|
|
416
|
- }, 'refundProduct.product','alibabaRefund', 'user' => function ($query) {
|
|
|
|
|
|
416
|
+ }, 'refundProduct.product','`alibabaRefund`', 'user' => function ($query) {
|
|
417
|
$query->field('uid,nickname,phone');
|
417
|
$query->field('uid,nickname,phone');
|
|
418
|
}]);
|
418
|
}]);
|
|
419
|
$count = $query->count();
|
419
|
$count = $query->count();
|