<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: wuts  
    $Date: 2018-12-21 上午10:43: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
            		rpt5010_not_write_off_pkg.calc_month_days(
            			p_month    =>${@month},
                        p_user_id  =>${/session/@user_id},
                        p_days     => ${@days}
            		);
            	end;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="days" dataType="java.lang.Long" input="true" output="true" outputPath="/parameter/@days"/>
            </bm:parameters>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
            	begin
            		rpt5010_not_write_off_pkg.rpt5010_run_job(
                        p_user_id  =>${/session/@user_id}
            		);
            	end;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
