<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: shenyamin
    $Date: 2018-11_03 上午11:00:06  
    $Revision: 3.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                select 0  v_count from dual --20240510 取消机号重复校验

                ]]>
            </bm:query-sql>
        </bm:operation>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                begin
                    prj_project_pkg.project_submit(
                    p_project_id =>${@project_id}, 
                    p_user_id => ${/session/@user_id}
                    );
                end;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
                begin
                    prj_project_check_pkg.check_prj_lease_item(
                    p_project_id      =>${@project_id},
                    p_machine_number =>${@machine_number},
                    p_user_id => ${/session/@user_id}

                    );
                end;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="v_count" databaseType="NUMBER" datatype="java.lang.Long" physicalName="v_count"/>
    </bm:fields>
</bm:model>
