<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: nyl  
    $Date: 2013-11-27 下午03:23:07  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
            <bm:parameters>
                <bm:parameter name="id_card_no" input="true"/>
                <bm:parameter name="province_desc" output="true" outputPath="/parameter/@province_desc"/>
                <bm:parameter name="city_desc" output="true" outputPath="/parameter/@city_desc"/>
                <bm:parameter name="district_desc" output="true" outputPath="/parameter/@district_desc"/>
                <bm:parameter name="province_id" output="true" outputPath="/parameter/@province_id"/>
                <bm:parameter name="city_id" output="true" outputPath="/parameter/@city_id"/>
                <bm:parameter name="district_id" output="true" outputPath="/parameter/@district_id"/>
                <bm:parameter name="birthday" output="true" outputPath="/parameter/@birthday"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
            begin
            	cus_idcard_check_pkg.get_idcard_info(p_idcard    =>${@id_card_no},
                            p_user_id       =>${/session/@user_id},
                            p_province_id   =>${@province_id},
                            p_city_id       =>${@city_id},
                            p_district_id   =>${@district_id},
                            p_province_desc  =>${@province_desc},
                            p_city_desc     =>${@city_desc},
                            p_district_desc  =>${@district_desc},
                            p_birthday      =>${@birthday});
            end;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
