<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Think
    $Date: 2017-1-16 上午10:53:16  
    $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
                    hv.version_url,
                    hv.app_version,
                    hv.platform,
                    hv.update_content,
                    hv.small_version,
                    hv.big_version
                FROM
                    hls_app_version hv
                WHERE
                    hv.platform='IOS' AND
                    rownum     =1
                ORDER BY
                    hv.version_id DESC
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="version_url" physicalName="VERSION_URL"/>
        <bm:field name="app_version" physicalName="APP_VERSION"/>
        <bm:field name="platform" physicalName="PLATFORM"/>
        <bm:field name="update_content" physicalName="UPDATE_CONTENT"/>
        <bm:field name="small_version" physicalName="SMALL_VERSION"/>
        <bm:field name="big_version" physicalName="BIG_VERSION"/>
    </bm:fields>
</bm:model>
