Commit 1d48eff2 authored by lizhe's avatar lizhe

CFO特殊逻辑调整

parent 235bae84
......@@ -7,7 +7,17 @@
from (select u.user_id id
from sys_user u
where u.user_id = ${/session/@user_id}
and u.user_name in ('XUEJINGYAN','WUYING','KATO'))
and (u.user_name in ('XUEJINGYAN','WUYING','LIUMENGCHEN') or exists
(select 1
from exp_employees e, exp_employee_assigns_v ea
where e.employee_id = ea.employee_id
and e.enabled_flag = 'Y'
and ea.position_enabled = 'Y'
and ea.position_code = '002'
and ea.enabled_flag = 'Y'
and e.employee_id = u.employee_id))
)
]]></bm:query-sql>
</bm:operation>
</bm:operations>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment