<?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 * from(
          select wah.instance_id,
	             wah.create_date_fmt,
	             wah.node_desc,
	             wah.note,
	             wah.action_type_desc,
	             wah.comment_text,
	             wah.approver
	        from zj_wfl_approve_history_v wah
	       where wah.node_hide_approve_record = 'N'
	       ) t1 #WHERE_CLAUSE# order by t1.instance_id,t1.create_date_fmt
	       ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
