fix(打卡审核列表): 过滤补卡记录
parent
f63aa0de64
commit
47e369f6bd
|
@ -244,6 +244,7 @@ class Manager extends Base
|
||||||
// 负责工地
|
// 负责工地
|
||||||
$worksiteIds = AccountWorksite::where('account_id', $accountId)->column('worksite_id');
|
$worksiteIds = AccountWorksite::where('account_id', $accountId)->column('worksite_id');
|
||||||
$where[] = ['cl.worksite_id', 'in', $worksiteIds];
|
$where[] = ['cl.worksite_id', 'in', $worksiteIds];
|
||||||
|
$where[] = ['cl.is_replenish', '=', 0];
|
||||||
|
|
||||||
$query = \app\model\ClockLog::alias('cl')
|
$query = \app\model\ClockLog::alias('cl')
|
||||||
->leftJoin('account a', 'a.id = cl.account_id')
|
->leftJoin('account a', 'a.id = cl.account_id')
|
||||||
|
|
Loading…
Reference in New Issue