<!--<bm:data-filter name="query" expression="( (${/session/@role_id} = (select role_id from sys_role where role_code = '0006') and t1.workflow_code in ('CONTRACT_INCEPT_WFL', 'DCFL_CSH_PAYMENT_REQ')) or (${/session/@role_id} in (select role_id from sys_role where role_code in ('0012', '0013', '0014')) and t1.workflow_code in ('DCFL_CSH_PAYMENT_REQ', 'DEPOSIT_RETURN')) or (${/session/@role_id} = (select role_id from sys_role where role_code = '0005') and t1.workflow_code in ('PROJECT_WFL')) or (${/session/@role_id} = (select role_id from sys_role where role_code = '0008') and t1.workflow_code in ('CON_ET_WFL','TENANT_CHANGE_WFL','CON_BUYBACK_WFL','DEPOSIT_RETURN')) or (${/session/@role_id} not in (select role_id from sys_role where role_code in('0005', '0006', '0008', '0012', '0013', '0014')) and 1 = 1))"/>-->
<!--<bm:data-filter name="query" expression="( (${/session/@role_id} = (select role_id from sys_role where role_code = '0006') and t1.workflow_code in ('CONTRACT_INCEPT_WFL', 'DCFL_CSH_PAYMENT_REQ')) or (${/session/@role_id} in (select role_id from sys_role where role_code in ('0012', '0013', '0014')) and t1.workflow_code in ('DCFL_CSH_PAYMENT_REQ', 'DEPOSIT_RETURN')) or (${/session/@role_id} = (select role_id from sys_role where role_code = '0005') and t1.workflow_code in ('PROJECT_WFL')) or (${/session/@role_id} = (select role_id from sys_role where role_code = '0008') and t1.workflow_code in ('CON_ET_WFL','TENANT_CHANGE_WFL','CON_BUYBACK_WFL','DEPOSIT_RETURN')) or (${/session/@role_id} not in (select role_id from sys_role where role_code in('0005', '0006', '0008', '0012', '0013', '0014')) and 1 = 1))"/>-->
<!--凭证导出工作流只能由提交人和审批人看到,其余人无法在工作流监控中看到-->
<!--凭证导出工作流只能由提交人和审批人看到,其余人无法在工作流监控中看到-->
<bm:data-filtername="query"expression="( (${/session/@role_id} = (select role_id from sys_role where role_code = '0006') and t1.workflow_code in ('CONTRACT_INCEPT_WFL', 'DCFL_CSH_PAYMENT_REQ')) or (${/session/@role_id} in (select role_id from sys_role where role_code in ('0012', '0013', '0014')) and t1.workflow_code in ('DCFL_CSH_PAYMENT_REQ', 'DEPOSIT_RETURN')) or (${/session/@role_id} = (select role_id from sys_role where role_code = '0005') and t1.workflow_code in ('PROJECT_WFL')) or (${/session/@role_id} = (select role_id from sys_role where role_code = '0008') and t1.workflow_code in ('CON_ET_WFL','TENANT_CHANGE_WFL','CON_BUYBACK_WFL','DEPOSIT_RETURN')) or (${/session/@role_id} not in (select role_id from sys_role where role_code in('0005', '0006', '0008', '0012', '0013', '0014')) and 1 = 1)
<bm:data-filtername="query"expression="( (${/session/@role_id} = (select role_id from sys_role where role_code = '0006') and t1.workflow_code in ('CONTRACT_INCEPT_WFL', 'DCFL_CSH_PAYMENT_REQ')) or (${/session/@role_id} in (select role_id from sys_role where role_code in ('0012', '0013', '0014')) and t1.workflow_code in ('DCFL_CSH_PAYMENT_REQ', 'DEPOSIT_RETURN')) or (${/session/@role_id} = (select role_id from sys_role where role_code = '0005') and t1.workflow_code in ('PROJECT_WFL')) or (${/session/@role_id} = (select role_id from sys_role where role_code = '0008') and t1.workflow_code in ('CON_ET_WFL','TENANT_CHANGE_WFL','CON_BUYBACK_WFL','DEPOSIT_RETURN')) or (${/session/@role_id} not in (select role_id from sys_role where role_code in('0005', '0006', '0008', '0012', '0013', '0014')) and 1 = 1)
or( ((t1.SUBMITTED_BY = ${/session/@user_id}) or (t1.APPROVE_USER_CODE in (
or( ((t1.SUBMITTED_BY = ${/session/@user_id}) or ( (Select t.user_name From sys_user t Where t.user_id = ${/session/@user_id})
Select distinct e.employee_code From exp_employees e, exp_employee_assigns ea Where e.employee_id =
in (Select u.user_name
ea.employee_id And nvl(e.enabled_flag, 'N') = 'Y' And nvl(ea.enabled_flag, 'N') =
From zj_wfl_instance_node_recipient t, sys_user u
'Y' And
Where t.instance_id = t1.instance_id
e.employee_id in (Select t.employee_id From sys_user t Where t.user_id = ${/session/@user_id})
And t.user_id = u.user_id
) ) ) and t1.workflow_code in('HLS_JOURNAL_WFL','HLS_JOURNAL_REVERSE_WFL')))"/>
And t.record_type = 'APPROVER')
) ) and t1.workflow_code in('HLS_JOURNAL_WFL','HLS_JOURNAL_REVERSE_WFL')))"/>