<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Darming  
    $Date: 2017-12-28 下午5:45:36  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
               begin
  -- Call the procedure
  dr_prj_project_pkg.save_prj_lease_item(p_project_lease_item_id => ${@project_lease_item_id},
                                         p_guide_price => ${@guide_price},
                                         p_insurance_price => ${@insurance_price},
                                         p_gps_amount  => ${@gps_amount},
                                         p_purchase_tax => ${@purchase_tax},
                                         p_lease_item_seq => ${@lease_item_seq},
                                         p_vehicle_class => ${@vehicle_class},
                                         p_brand_id => ${@brand_id},
                                         p_series_id => ${@series_id},
                                         p_model_id => ${@model_id},
                                         p_truck_class => ${@truck_class},
                                         p_bus_type => ${@bus_type},
                                         p_color_of_apprearance => ${@color_of_apprearance},
                                         p_sit_number => ${@sit_number},
                                         p_energy_type => ${@energy_type},
                                         p_price => ${@price},
                                         p_quantity => ${@quantity},
                                         p_gps_flag => ${@gps_flag},
                                         p_project_id => ${@project_id},
                                         p_user_id => ${@user_id});
end;
]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="project_lease_item_id" dataType="java.lang.Long" input="true" output="true" outputPath="@project_lease_item_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
