<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: hp  
    $Date: 2014-11-3 下午1:38:04  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
        		begin
        		
				 CON_CONTRACT_LAW_PKG.contract_law_save(p_contract_id =>${@contract_id},
                              p_law_id      =>${@law_id},
                              p_legal_des   =>${@legal_des},
                              p_company_id  =>${/session/@company_id},
                              p_user_id     =>${/session/@user_id});

				end;
        	]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[

        		begin
				 CON_CONTRACT_LAW_PKG.contract_law_submmit(p_contract_id =>${@contract_id},
                              p_law_id      =>${@law_id},
                              p_company_id  =>${/session/@company_id},
                              p_user_id     =>${/session/@user_id});

				end;
        	]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
