<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
            	begin
  
  dr_prj_project_pkg.prj_project_create(p_project_id => ${@project_id},
                                        p_prj_bp_id  =>  ${@prj_bp_id},
                                        p_insurance_or_not  =>  ${@insurance_or_not},
                                        p_lease_organization => ${@lease_organization},
                                        p_unit_id      => ${@unit_id},
                                        p_manager_id   => ${@manager_id},
                                        p_company_id => 1,
                                        p_division   => ${@division},
                                        p_owner_user_id => ${@user_id},
                                        p_document_type => ${@document_type},
                                        p_bp_class => ${@bp_class},
                                        p_business_type => ${@business_type},
                                        p_lease_channel => ${@lease_channel},
                                        p_car_type => ${@car_type},
                                        p_invoice_agent_id => ${@invoice_agent_id},
                                        p_project_name => ${@project_name},
                                        p_employee_id => ${@employee_id},
                                        p_province => ${@province},
                                        p_city => ${@city},
                                        p_district => ${@district},
                                        p_guaranty_mode => ${@guaranty_mode},
                                        p_other_mortgage => ${@other_mortgage},
                                        p_other_guarantee => ${@other_guarantee},
                                        p_bp_id => ${@bp_id},
                                        p_business_license_num => ${@business_license_num},
                                        p_work_unit_phone => ${@work_unit_phone},
                                        p_founded_date => null,
                                        p_registered_capital => ${@registered_capital},
                                        p_gender => ${@gender},
                                        p_id_type => ${@id_type},
                                        p_id_card_no => ${@id_card_no},
                                        p_cell_phone => ${@cell_phone},
                                        p_liv_province => ${@liv_province},
                                        p_liv_city => ${@liv_city},
                                        p_liv_district => ${@liv_district},
                                        p_industry => ${@industry},
                                        p_work_unit => ${@work_unit},
                                        p_user_id => ${@user_id});
				end;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="project_id" dataType="java.lang.Long" input="true" output="true" outputPath="@project_id"/>
                <bm:parameter name="prj_bp_id" dataType="java.lang.Long" input="true" output="true" outputPath="@prj_bp_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
