<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
	        	SELECT
                    t1.email,t1.change_req_id
                FROM
                    (SELECT
                        e.email,
                        t.change_req_id
                    FROM
                        zj_wfl_instance_node_rcpt_v r,
                        con_contract_change_req t,
                        sys_user s,
                        exp_employees e
                    WHERE
                        r.user_id      = ${/session/@user_id} AND
                        r.instance_id  = t.wfl_instance_id AND
                        r.submitted_by = s.user_id AND
                        s.employee_id  = e.employee_id
                    ) t1 #WHERE_CLAUSE#
	        ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
