<?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.NODE_SEQUENCE_NUM,
			       t1.APPROVER,
			       t1.ACTION_TYPE_DESC,
			       t1.comment_text,
			       t1.rk
			  FROM HN_WFL_APPROVE_HISTORY_V t1,prj_quotation pq
			 WHERE t1.instance_id = pq.wfl_instance_id
			   and t1.node_hide_approve_record = 'N'
			   and t1.record_type = 'OK'
			   and t1.node_sequence_num = 20
			   and pq.quotation_id = ${@quotation_id}
			   ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
