save_serial_unique.lwm 1.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
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: mumu  
    $Date: 2014-7-20 下午07:35:03  
    $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
			  CON_CONTRACT_PKG.UPDATE_SERIAL_UNIQUE_NUM(P_CON_SERIAL_NUM =>${@con_serial_num},
			                                            P_CON_UNIQUE_NUM =>${@con_unique_num},
			                                            P_CONTRACT_ID    =>${@contract_id},
			                                            P_USER_ID        =>${/session/@user_id}); 
			                                            
			END; 
	       ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="con_serial_num"/>
                <bm:parameter name="con_unique_num"/>
                <bm:parameter name="contract_id"/>
                <bm:parameter inputPath="/session/@user_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>