<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: gzj
    $Date: 2022年6月14日
    $Revision: 1.0
    $Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
<!--            <bm:parameters>-->
<!--                <bm:parameter name="con_check_flag" datatype="java.lang.String" input="false" output="true"/>-->
<!--            </bm:parameters>-->
            <bm:update-sql><![CDATA[
            	begin
                     csh_transaction_wfl_pkg.check_contract_invoice(
                            p_transaction_wfl_id   => ${../../@transaction_wfl_id},
                            p_write_off_id         => ${@write_off_id},
                            p_user_id              => ${/session/@user_id}
                    );
            	end;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
                begin
                     csh_transaction_wfl_pkg.save_check_invoice_flag(
                                                    p_transaction_wfl_id  =>${@transaction_wfl_id},
                                                    p_check_flag     =>${@check_flag},
                                                    p_extend_month_flag  =>${@extend_month_flag},
                                                    p_user_id  => ${/session/@user_id}
                    );
                end;
            ]]></bm:update-sql>
</bm:model>