<?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
                        t.project_id,
                        t.mortgage_name,
                        t.mortgage_type,
                        t.mortgage_type_n
                    FROM
                        prj_project_mortgage_lv t
                    WHERE
                        t.mortgage_ast_classfication <> 'MOVABLE_PROPERTY_M' AND
                        t.mortgage_asset_detail      <> 'NORMAL'
                    ) t1 #WHERE_CLAUSE#
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
