<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: jessen  
    $Date: 2011-9-8 上午11:18:04  
    $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
                exp_sub_employees_pkg.insert_employees(p_employee_code => ${@employee_code},
                                         p_name => ${@name},
                                         p_email => ${@email},
                                         p_mobil => ${@mobil},
                                         p_phone => ${@phone},
                                         p_enabled_flag => nvl(${@enabled_flag},'N'),
                                         p_created_by => ${/session/@user_id},
                                         p_bank_of_deposit=>${@bank_of_deposit},
                                         p_bank_account => ${@bank_account},
                                         p_employee_type_id => ${@employee_type_id},
                                         p_id_type => ${@id_type},
                                         p_id_code => ${@id_code},
                                         p_notes => ${@notes},
                                         p_employee_id => ${@employee_id});
            end;
    ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="employee_code"/>
                <bm:parameter name="name"/>
                <bm:parameter name="email"/>
                <bm:parameter name="mobil"/>
                <bm:parameter name="phone"/>
                <bm:parameter name="enabled_flag"/>
                <bm:parameter inputpath="/session/@user_id"/>
                <bm:parameter name="bank_of_deposit"/>
                <bm:parameter name="bank_account"/>
                <bm:parameter name="employee_type_id"/>
                <bm:parameter name="id_type"/>
                <bm:parameter name="id_code"/>
                <bm:parameter name="notes"/>
                <bm:parameter name="employee_id" datatype="java.lang.Long" input="false" inputpath="@employee_id" output="true" outputpath="@employee_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
