<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: jessen  
    $Date: 2011-9-8 下午7:45:25  
    $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_exp_employee_assigns(
	                        p_employee_id              => ${@employee_id}            ,
	                        p_company_id               => ${@company_id}             ,
	                        p_position_id              => ${@position_id}            ,
	                        p_employee_job_id          => ${@employee_job_id}        ,
	                        p_primary_position_flag    => ${@primary_position_flag}  ,
	                        p_enabled_flag             => ${@enabled_flag}           ,
	                        p_user_id                  => ${/session/@user_id}       ,
	                        p_employees_assign_id      => ${@employees_assign_id}    );
            end;
        ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="employee_id"/>
                <bm:parameter name="company_id"/>
                <bm:parameter name="position_id"/>
                <bm:parameter name="employee_job_id"/>
                <bm:parameter name="employee_levels_id"/>
                <bm:parameter name="primary_position_flag"/>
                <bm:parameter name="enabled_flag"/>
                <bm:parameter inputpath="/session/@user_id"/>
                <bm:parameter name="employees_assign_id" datatype="java.lang.Long" input="false" inputpath="@employees_assign_id" output="true" outputpath="@employees_assign_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
