<?xml version="1.0" encoding="UTF-8"?> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="KINGDEE_INTERFACE_LOGS" needAccessControl="false"> <bm:fields> <bm:field name="interface_log_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="INTERFACE_LOG_ID" prompt="KINGDEE_INTERFACE_LOGS.INTERFACE_LOG_ID"/> <bm:field name="interface_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INTERFACE_TYPE" prompt="KINGDEE_INTERFACE_LOGS.INTERFACE_TYPE"/> <bm:field name="source_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SOURCE_ID" prompt="KINGDEE_INTERFACE_LOGS.SOURCE_ID"/> <bm:field name="source_table" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SOURCE_TABLE" prompt="KINGDEE_INTERFACE_LOGS.SOURCE_TABLE"/> <bm:field name="interface_deal_message" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INTERFACE_DEAL_MESSAGE" prompt="KINGDEE_INTERFACE_LOGS.INTERFACE_DEAL_MESSAGE"/> <bm:field name="itfc_exception" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ITFC_EXCEPTION" prompt="KINGDEE_INTERFACE_LOGS.ITFC_EXCEPTION"/> <bm:field name="external_itfc_num" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EXTERNAL_ITFC_NUM" prompt="KINGDEE_INTERFACE_LOGS.EXTERNAL_ITFC_NUM"/> <bm:field name="journal_num" expression="(SELECT h.journal_num FROM hls_journal_header h WHERE h.journal_header_id = t1.source_id)" forInsert="false" forUpdate="false"/> <bm:field name="interface_date"/> <bm:field name="batch_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="BATCH_ID" prompt="KINGDEE_INTERFACE_LOGS.BATCH_ID"/> </bm:fields> <bm:features> <f:standard-who/> </bm:features> <bm:primary-key> <bm:pk-field name="interface_log_id"/> </bm:primary-key> <bm:query-fields> <bm:query-field field="batch_id" queryOperator="="/> </bm:query-fields> <bm:data-filters> <bm:data-filter enforceActions="query" expression="t1.batch_id = ${@batch_id}"/> </bm:data-filters> </bm:model>