con_contract_change.lwm 1.16 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: nyl  
    $Date: 2014-12-5 下午12:06:40  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:parameters>
                <bm:parameter name="penalty_release_date" datatype="java.util.Date" input="true"/>
                <bm:parameter name="penalty_nowrite_off_date" datatype="java.util.Date" input="true"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
               begin
                 cus_con_pending_import_pkg.suspend_contract_penalty(p_contract_id    =>${@contract_id},
							                                     p_penalty_nowrite_off_flag  =>${@penalty_nowrite_off_flag},
							                                     p_penalty_release_date     =>${@penalty_release_date},
							                                     p_penalty_nowrite_off_date  =>${@penalty_nowrite_off_date},
							                                     p_user_id         =>${/session/@user_id});
               end;
          ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>