<?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"/>
        <bm:field name="httpurl" databaseType="VARCHAR2" datatype="java.lang.String"/>
        <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>
