<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: wangwei  
    $Date: 2016-1-21 下午3:19:01  
    $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
           sdic_other_contract_pkg.check_sdic_other_con_cf(
                                    p_header_id   =>${/model/header/record/@header_id},
                                    p_contract_id =>${/parameter/@contract_id},
                                    p_user_id     =>${/session/@user_id});
           end;
]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="insert">
            <bm:update-sql><![CDATA[
        begin
          sdic_other_contract_pkg.import_sdic_other_con_cf(
                                    p_header_id   =>${/parameter/@header_id},
                                    p_contract_id =>${/parameter/@contract_id},
                                    p_user_id     =>${/session/@user_id});
        end;
        ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
