<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1"  needAccessControl="false">
    <bm:fields>
        <bm:field name="code_value" />
        <bm:field name="code_value_name" />
    </bm:fields>
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                 SELECT
                    sc.code_value,
                    sc.code_value_name
                 FROM
                    sys_code_values_v sc
                 WHERE
                    sc.code = 'CON500_CONTRACT_STATUS'
                 AND sc.code_value in ('TERMINATE','LOSSSHARE_TERMINATE','AGENT_TERMINATE','INCEPT','VIRTUAL_TERMINATE')
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>