<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: gaoyang  
    $Date: 2013-9-27 上午09:52:30  
    $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_content_pkg.contract_normal_create(
            			p_contract_id =>${@contract_id}, 
            			p_user_id     =>${/session/@user_id}
            		);
            		
            	end;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
            	begin
            		con_contract_content_pkg.contract_content_create_all(
            			p_session_id =>${/session/@session_id}, 
            			p_user_id     =>${/session/@user_id}
            		);
            		
            	end;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="insert">
            <bm:update-sql><![CDATA[
            	insert into content_create_temp values(${/session/@session_id},${@contract_id})
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="delete">
            <bm:update-sql><![CDATA[
            begin
            	con_contract_content_pkg.contract_content_delete_all(
            			p_contract_id =>${@contract_id}
            		);
			end;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
