<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: trd
    $Date: 2024-11-11 下午5:06:06
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="delete">
            <bm:update-sql><![CDATA[
				begin
					con_contract_content_pkg.delect_contract_download_temp(p_session_id => ${/session/@session_id});
				end;
			]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="insert">
            <bm:update-sql><![CDATA[
				begin
                    con_contract_content_pkg.contract_rent_download_create(
                        p_session_id  =>${/session/@session_id},
                        p_contract_id =>${@contract_id}
                    );

                end;
			]]></bm:update-sql>
        </bm:operation>
         <bm:operation name="update">
            <bm:update-sql><![CDATA[
               begin
                con_contract_content_pkg.content_create_for_collection(
                    p_contract_id =>${@contract_id},
                    p_user_id     =>${/session/@user_id},
                    p_templet_code=>${@templet_code}
                );
              end;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
