con_ele_savelogs.lwm 1.27 KB
Newer Older
congzhao's avatar
congzhao committed
1 2 3 4
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:fields>
        <bm:field name="contract_id" databaseType="Number" datatype="java.lang.Double"/>
5
        <bm:field name="httpurl" databaseType="VARCHAR2" datatype="java.lang.String"/>
congzhao's avatar
congzhao committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
        <bm:field name="jsonPut" databaseType="CLOB" datatype="java.sql.Clob"/>
        <bm:field name="jsonResult" databaseType="CLOB" datatype="java.sql.Clob"/>
        <bm:field name="tokenResult" databaseType="CLOB" datatype="java.sql.Clob"/>
    </bm:fields>
    <bm:operations>
        <bm:operation name="insert">
            <bm:update-sql><![CDATA[
                BEGIN
                    wx_ele_contract_pkg.hl_con_savelogs(p_contract_id => ${@contract_id},
                                                        p_httpurl => ${@httpurl},
                                                        p_jsonPut => ${@jsonPut},
                                                        p_jsonResult => ${@jsonResult},
                                                        p_token      => ${@tokenResult}
                                                        );
                    COMMIT;
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>