添加查询条件
This commit is contained in:
parent
fd5d67f3ee
commit
05ff59bb49
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue