fix(接口): 月度打卡记录修复
parent
1ae1cbc429
commit
f8b46f863b
|
@ -501,7 +501,7 @@ class User extends Base
|
||||||
$where[] = ['cl.day', 'like', $ym.'%'];
|
$where[] = ['cl.day', 'like', $ym.'%'];
|
||||||
$where[] = ['cl.account_id', '=', $accountId];
|
$where[] = ['cl.account_id', '=', $accountId];
|
||||||
$where[] = ['cl.role', '=', $account['role']];
|
$where[] = ['cl.role', '=', $account['role']];
|
||||||
$where[] = ['cl.worksite_id', '=', $worksiteId ?: $accountId['worksite_id']];
|
$where[] = ['cl.worksite_id', '=', $worksiteId ?: $account['worksite_id']];
|
||||||
$list = \app\model\ClockLog::alias('cl')
|
$list = \app\model\ClockLog::alias('cl')
|
||||||
->where($where)
|
->where($where)
|
||||||
->select();
|
->select();
|
||||||
|
|
Loading…
Reference in New Issue