<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: qianming  
    $Date: 2015-9-1 上午02:46:41  
    $Revision: 1.0  
    $Purpose: 回访报告提交工作流审批
-->
<bm:model xmlns:s="leaf.plugin.script" xmlns:o="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="CON_VISIT_REPORT_HDS" defaultOrderBy="t1.visit_date desc">
    <bm:operations>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
				begin
				  -- Call the procedure
				  con_visit_report_pkg.visit_report_submit(p_visit_report_id => ${@visit_report_id},
				                                            p_user_id => ${/session/@user_id});
				end;
			]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
