<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: hsx
    $Date: 2018-8-14 下午6:29:21
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                BEGIN
                   con_contract_penalty_pkg.save_penalty_batch_number(p_record_id =>${@record_id},p_penalty_batch_number=>${@penalty_batch_number});
                END;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
                BEGIN
                   ${@penalty_batch_number}:= con_contract_penalty_pkg.get_penalty_batch_number(p_record_id =>${@record_id}, p_company_id =>${/session/@company_id}, p_user_id =>${/session/@user_id});
                END;
            ]]></bm:update-sql>
            <bm:parameters>
                 <bm:parameter name="penalty_batch_number" input="false" output="true" outputPath="@penalty_batch_number"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
