<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:ns2="leaf.database.local.oracle" xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
            begin            
            	 ${@result_num} := zj_wfl_core_pkg.workflow_approve(p_rcpt_record_id	=> ${@rcpt_record_id},
												            		p_node_action_id 	=> ${@node_action_id},
												            		p_comment 			=> '来自微信端审批：'||${@comment_text},
												            		p_user_id 			=> ${@user_id});
    		end;
    		]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="result_num" dataType="java.lang.Long" input="false" output="true" outputPath="@result_num"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
