<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Harry  
    $Date: 2017-1-22 上午10:18:38  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="HLS_ANALYSE_BY_PROJECT_LV">
    <bm:fields>
        <bm:field name="target_type_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TARGET_TYPE_NAME" prompt="HLS_ANALYSE_BY_PROJECT_LV.TARGET_TYPE_NAME"/>
        <bm:field name="target_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TARGET_TYPE" prompt="HLS_ANALYSE_BY_PROJECT_LV.TARGET_TYPE"/>
        <bm:field name="target" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TARGET" prompt="HLS_ANALYSE_BY_PROJECT_LV.TARGET"/>
        <bm:field name="target_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TARGET_NAME" prompt="HLS_ANALYSE_BY_PROJECT_LV.TARGET_NAME"/>
        <bm:field name="approved_count" databaseType="NUMBER" datatype="java.lang.Long" physicalName="APPROVED_COUNT" prompt="HLS_ANALYSE_BY_PROJECT_LV.APPROVED_COUNT"/>
        <bm:field name="reject_count" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REJECT_COUNT" prompt="HLS_ANALYSE_BY_PROJECT_LV.REJECT_COUNT"/>
        <bm:field name="cancel_count" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CANCEL_COUNT" prompt="HLS_ANALYSE_BY_PROJECT_LV.CANCEL_COUNT"/>
        <bm:field name="terminate_count" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TERMINATE_COUNT" prompt="HLS_ANALYSE_BY_PROJECT_LV.TERMINATE_COUNT"/>
        <bm:field name="project_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PROJECT_ID" prompt="HLS_ANALYSE_BY_PROJECT_LV.PROJECT_ID"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:query-fields>
        <bm:query-field field="target_type" queryOperator="="/>
        <bm:query-field field="target" queryExpression="t1.target like &apos;%&apos; || ${@target} || &apos;%&apos;"/>
    </bm:query-fields>
</bm:model>
