From 47e369f6bd31f82763d704bdf7e8e2000cacbc77 Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Mon, 16 Jan 2023 14:46:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=89=93=E5=8D=A1=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=88=97=E8=A1=A8):=20=E8=BF=87=E6=BB=A4=E8=A1=A5=E5=8D=A1?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/v1/Manager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controller/api/v1/Manager.php b/app/controller/api/v1/Manager.php index ebd3850..1d64a0b 100644 --- a/app/controller/api/v1/Manager.php +++ b/app/controller/api/v1/Manager.php @@ -244,6 +244,7 @@ class Manager extends Base // 负责工地 $worksiteIds = AccountWorksite::where('account_id', $accountId)->column('worksite_id'); $where[] = ['cl.worksite_id', 'in', $worksiteIds]; + $where[] = ['cl.is_replenish', '=', 0]; $query = \app\model\ClockLog::alias('cl') ->leftJoin('account a', 'a.id = cl.account_id')