添加查询条件

This commit is contained in:
yangjun 2026-03-31 15:42:41 +08:00
parent fd5d67f3ee
commit 05ff59bb49
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
FROM nu_biz_employees_org a
LEFT JOIN sys_depart b
ON a.org_code = b.org_code
WHERE a.employees_id = #{employeesId}
WHERE (a.employees_id = #{employeesId} or a.tel = #{employeesId})
AND a.iz_freeze = 'N'
AND a.iz_history = 'N'
AND b.status = '1'