csh_query_position.lwm 601 Bytes
Newer Older
Darming's avatar
Darming committed
1 2 3 4 5 6 7
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
               select p.position_code, 'Y' approval_enbale
                FROM exp_emp_user_e_v e, exp_org_position p where e.position_id = p.POSITION_ID and e.user_id = ${/session/@user_id}
8
                and p.position_code in ('014','009') and p.ENABLED_FLAG = 'Y'
Darming's avatar
Darming committed
9 10 11 12 13
                ]]>
            </bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>