<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Think
    $Date: 2017-1-16 上午10:53:16  
    $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
  
  hls_bp_master_pkg.ins_hls_bp_bank(p_bank_account_id => ${@bank_account_id},
                                    p_bp_id => ${@bp_id},
                                    p_bank_account_num => ${@bank_account_num},
                                    p_bank_account_code => null,
                                    p_bank_account_name => ${@bank_account_name},
                                    p_currency => null,
                                    p_enabled_flag => null,
                                    p_bank_full_name => ${@bank_full_name},
                                    p_bank_branch_name => ${@bank_branch_name},
                                    p_bank_branch_id => null,
                                    p_country_id => null,
                                    p_province_id => null,
                                    p_city_id => null,
                                    p_district_id => null,
                                    p_user_id => ${@user_id},
                                    p_ref_v01 => null,
                                    p_ref_v02 => null,
                                    p_ref_v03 => null,
                                    p_ref_v04 => null,
                                    p_ref_v05 => null,
                                    p_ref_n01 => null,
                                    p_ref_n02 => null,
                                    p_ref_n03 => null,
                                    p_ref_n04 => null,
                                    p_ref_n05 => null,
                                    p_ref_d01 => null,
                                    p_ref_d02 => null,
                                    p_ref_d03 => null,
                                    p_ref_d04 => null,
                                    p_ref_d05 => null,
                                    p_deducted_card => ${@deducted_card},
                                    p_bank_account_type => ${@bank_account_type},
                                    p_start_date => to_date(${@start_date},'yyyy-mm-dd'),
                                    p_end_date => to_date(${@end_date},'yyyy-mm-dd'));
end;
		                                              
				                                      
				                                      
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="bank_account_id" dataType="java.lang.Long" input="true" output="true" outputPath="@bank_account_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
