<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: lpc
    $Date: 2018-9-4 下午4:10:21
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                BEGIN
                    UPDATE
                        con_collection cc
                    SET
                        cc.status = 'INCOME_COMMIT'
                    WHERE
                        cc.col_id = ${@col_id};

                    UPDATE
                        con_car_collecting ccc
                    SET
                        ccc.save_confirm_date = SYSDATE
                    WHERE
                        cc.col_id = ${@col_id};
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
