gettask.lwm 2.06 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: linjinxiao  
    $Date: 2012-6-15 下午2:59:46  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:parameters>
                <bm:parameter name="task_id" dataType="java.lang.Long" input="false" output="true"/>
                <bm:parameter name="task_type" dataType="java.lang.String" input="false" output="true"/>
                <bm:parameter name="proc_file_path" dataType="java.lang.String" input="false" output="true"/>
                <bm:parameter name="proc_content" dataType="java.lang.String" input="false" output="true"/>
                <bm:parameter name="context" dataType="java.lang.String" input="false" output="true"/>
                <bm:parameter name="sql" dataType="java.lang.String" input="false" output="true"/>
                <bm:parameter name="retry_time" dataType="java.lang.Long" input="false" output="true"/>
                <bm:parameter name="current_retry_time" dataType="java.lang.Long" input="false" output="true"/>
                <bm:parameter name="time_out" dataType="java.lang.Long" input="false" output="true"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                BEGIN
                    SYS_TASKS_PKG.GETTASK(po_task_id => ${@task_id},
                                          po_task_type => ${@task_type},
                                          po_proc_file_path => ${@proc_file_path},
                                          po_proc_content => ${@proc_content},
                                          po_context => ${@context},
                                          po_sql => ${@sql},
                                          po_retry_time => ${@retry_time},
                                          po_current_retry_time => ${@current_retry_time},
                                          po_time_out => ${@time_out});
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>