<bm:query-fieldname="approve_user_code"queryExpression="t1.approve_user_code like ${@approve_user_code}"/>
<bm:query-fieldname="approve_user_code"queryExpression="t1.approve_user_code like ${@approve_user_code}"/>
</bm:query-fields>
</bm:query-fields>
<bm:data-filters>
<bm:data-filters>
<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-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)
or( ((t1.SUBMITTED_BY = ${/session/@user_id}) or (t1.APPROVE_USER_CODE = (
Select distinct e.employee_code From exp_employees e, exp_employee_assigns ea Where e.employee_id =
ea.employee_id And nvl(e.enabled_flag, 'N') = 'Y' And nvl(ea.enabled_flag, 'N') =
'Y' And
e.employee_id = (Select t.employee_id From sys_user t Where t.user_id = ${/session/@user_id})
) ) ) and t1.workflow_code = 'HLS_JOURNAL_WFL'))"/>
var url = '${/request/@context_path}/modules/hls/HLS536/hls_journal_import_trans_upload.lview?_csrf=${/session/@_csrf.token}&template_type='+templatetype;