<?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
            		sys_login_pkg.register_weixin(
            			p_open_id        =>${@open_id},
        			    p_id_type        =>${@id_type},
                        p_id_card_no     =>${@id_card_no},
                        p_name           =>${@name},
                        x_return_status  =>${@return_status},
                        x_return_message =>${@return_message},
                        x_access_token   =>${@access_token});
            	end;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="return_status" dataType="java.lang.String" input="false" output="true" outputPath="/parameter/@return_status"/>
                <bm:parameter name="return_message" dataType="java.lang.String" input="false" output="true" outputPath="/parameter/@return_message"/>
                <bm:parameter name="access_token" dataType="java.lang.String" input="false" output="true" outputPath="/parameter/@access_token"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
