<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: wujun  
    $Date: 2016-11-25 11:13:33  
    $Revision: 1.0  
    $Purpose: ABS登记明细保存
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="insert">
            <bm:update-sql><![CDATA[
            BEGIN
				hn_abs_project_pkg.create_abs_contract(p_abs_id => ${@abs_id},
                                       				   p_contract_id => ${@contract_id},
                                       				   p_start_times => ${@start_times},
                                       				   p_end_times   => ${@end_times},
                                       				   p_user_id     => ${/session/@user_id});
			END;
				]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="abs_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="contract_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="start_times" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="end_times" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter inputPath="/session/@user_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
