applyConditions
This commit is contained in:
parent
29e41902ce
commit
77221b6502
@ -56,7 +56,7 @@ class CardController extends Controller
|
||||
}
|
||||
|
||||
$conditions['type'] = 0;
|
||||
$total = app(OrderCardPartitionRepository::class)->withConditions($conditions)->applyConditions()->count();
|
||||
$total = app(OrderCardPartitionRepository::class)->withConditions($conditions)->count();
|
||||
|
||||
if ($total > 250000) {
|
||||
throw new NotAllowedException('一次性导出数据超过25万条,请添加筛选条件后重试');
|
||||
|
Loading…
x
Reference in New Issue
Block a user