From 1f123fa43311fbffab2c70f41bff561693eab1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Mon, 3 Aug 2020 08:21:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=8F=AD=E7=BA=A7=E6=88=90?= =?UTF-8?q?=E7=BB=A9=E6=9F=A5=E8=AF=A2=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chengji/model/TongjiBj.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chengji/model/TongjiBj.php b/app/chengji/model/TongjiBj.php index 8bfcb4e3..1c56e73f 100644 --- a/app/chengji/model/TongjiBj.php +++ b/app/chengji/model/TongjiBj.php @@ -277,7 +277,7 @@ class TongjiBj extends BaseModel ->where('kaoshi_id', 'in', function ($query) use ($src) { $query->name('kaoshi') ->whereTime('bfdate|enddate', 'between', [$src['bfdate'], $src['enddate']]) - ->when(count($src['xueqi']) > 0, function($q) use ($src) { + ->when(count($src['xueqi_id']) > 0, function($q) use ($src) { $q->where('xueqi_id', 'in', function($w) use ($src) { $w->name('xueqi') ->where('category_id', 'in', $src['xueqi_id'])