rent_confirm_car.lwm 897 Bytes
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<?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>