<?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
              		cus_app_customer_pkg.app_prj_bp_save(
              				p_prj_bp_id                   =>${@prj_bp_id},
                            p_project_id                  =>${@project_id},
                            p_id_card_no                  =>${@id_card_no},
                            p_bp_name                     =>${@bp_name},
                            p_cell_phone                  =>${@cell_phone},
                            p_academic_background         =>${@academic_background},
                            p_marital_status              =>${@marital_status},
                            p_annual_income               =>${@annual_income},
                            p_source_of_income            =>${@source_of_income},
                            p_first_time_buyer_flag       =>${@first_time_buyer_flag},
                            p_main_driver_of_car          =>${@main_driver_of_car},
                            p_living_address              =>${@living_address},
                            p_living_situation            =>${@living_situation},
                            p_years_of_living_house       =>${@years_of_living_house},
                            p_ownship_of_house            =>${@ownship_of_house},
                            p_house_loans_flag            =>${@house_loans_flag},
                            p_address_on_resident_booklit =>${@address_on_resident_booklit},
                            p_industry                    =>${@industry},
                            p_work_unit                   =>${@work_unit},
                            p_work_unit_address           =>${@work_unit_address},
                            p_work_unit_phone             =>${@work_unit_phone},
                            p_industry_work_experience    =>${@industry_work_experience},
                            p_position                    =>${@position},
                            p_release_form                =>${@release_form},
                            p_id_no_sp                    =>${@id_no_sp},
                            p_bp_name_sp                  =>${@bp_name_sp},
                            p_cell_phone_sp               =>${@cell_phone_sp},
                            p_academic_background_sp      =>${@academic_background_sp},
                            p_source_of_income_db         =>${@source_of_income_db},
                            p_relationship_sp             =>${@relationship_sp},
                            p_description_others          =>${@description_others},
                            p_living_address_db           =>${@living_address_db},
                            p_resident_addres             =>${@resident_addres},
                            p_industry_sp                 =>${@industry_sp},
                            p_work_unit_name_sp           =>${@work_unit_name_sp},
                            p_work_unit_address_sp        =>${@work_unit_address_sp},
                            p_industry_work_exper         =>${@industry_work_exper},
                            p_position_sp                 =>${@position_sp},
                            p_gender                      =>${@gender},
                            p_date_of_birth               =>${@date_of_birth},
                            p_age                         =>${@age},
                            p_gender_sp                   =>${@gender_sp},
                            p_date_of_birth_sp            =>${@date_of_birth_sp},
                            p_old_sp                      =>${@old_sp},
                            p_add_province                =>${@add_province},
                            p_add_city                    =>${@add_city},
                            p_liv_province                =>${@liv_province},
                            p_liv_city                    =>${@liv_city},
                            p_work_province               =>${@work_province},
                            p_work_city                   =>${@work_city},
                            p_resident_add_province       =>${@resident_add_province},
                            p_resident_add_city           =>${@resident_add_city},
                            p_living_add_province         =>${@living_add_province},
                            p_living_add_city             =>${@living_add_city},
                            p_work_province_sp            =>${@work_province_sp},
                            p_work_city_sp                =>${@work_city_sp},
                            p_user_id                     =>nvl(${/session/@user_id},${@user_id}));
				end;
            ]]></bm:update-sql>
            <bm:parameters>
                <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>