<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: lijingjing
    $Date: 2018-11_03 上午11:00:06  
    $Revision: 3.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_workflow_pkg.contract_submit(
                    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_workflow_pkg.contract_incept_submit(
                    p_contract_id =>${@contract_id},
                    p_user_id => ${/session/@user_id}
                    );
                end;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                select is_constru_unit
                from con_contract_sign_lv t1
                #WHERE_CLAUSE#
                ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
