applyConditions

This commit is contained in:
邓皓元 2019-10-16 16:45:02 +08:00
parent 29e41902ce
commit 77221b6502

View File

@ -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万条请添加筛选条件后重试');