导出去缓存
This commit is contained in:
parent
2808862b96
commit
1581698170
@ -28,7 +28,7 @@ class OrderCardExport extends AbstractExport implements FromQuery, WithHeadings,
|
||||
public function query()
|
||||
{
|
||||
$builder = app(OrderCardPartitionRepository::class)->with('order')->forceNoReset()->select(['sim', 'order_id', 'counts', 'refunded_at'])
|
||||
->withRefunded()->withConditions($this->conditions)->orderBy('order_id')->orderBy('sim');
|
||||
->withRefunded()->withConditions($this->conditions)->orderBy('order_id')->orderBy('sim')->skipCache();
|
||||
|
||||
return $builder;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user