<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: weiwuzhen  
    $Date: 2016-6-21 下午2:52:17  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[select rank() over(partition by t.project_id order by t.offer_con_id) lease_item_seq, --序号
       t.offer_con_name, --名称
       t.offer_con_num, --编号
       t.vender_name, --供应商
       t.description --备注
  from hn_virtual_offer_contract t
  where  t.project_id=${/parameter/@project_id}
  ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <!--    <bm:fields>
        <bm:field name="lease_item_seq" databaseType="NUMBER" datatype="java.lang.Long" physicalName="LEASE_ITEM_SEQ"/>
        <bm:field name="offer_con_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="OFFER_CON_NAME"/>
        <bm:field name="offer_con_num" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="OFFER_CON_NUM"/>
        <bm:field name="vender_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="VENDER_NAME"/>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION"/>
    </bm:fields> -->
</bm:model>
