<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: chenlingfeng  
    $Date: 2018-1-17 下午3:23:36  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[begin
  -- Call the function
  ${@approval_date} := to_char(calc_duedate(p_date => sysdate,
                          p_day_num => ${@day_num}),'YYYY-MM-DD');
end;
]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="approval_date" output="true" outputPath="@approval_date"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>