<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: Feng $Date: 2013-10-25 上午9:33:21 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm"> <bm:operations> <bm:operation name="query"> <bm:query-sql><![CDATA[select fc.company_id,fc.company_type,fc.company_short_name,gov.set_of_books_code,gov.set_of_books_name from gld_set_of_books_vl gov,fnd_companies fc where gov.set_of_books_id = fc.set_of_books_id and company_id = ${/session/@company_id}]]></bm:query-sql> <bm:parameters> <bm:parameter inputPath="/session/@company_id"/> </bm:parameters> </bm:operation> </bm:operations> <bm:fields> <bm:field name="company_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="COMPANY_ID" required="true"/> <bm:field name="company_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COMPANY_TYPE" required="true"/> <bm:field name="set_of_books_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SET_OF_BOOKS_CODE" required="true"/> <bm:field name="set_of_books_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SET_OF_BOOKS_NAME"/> <bm:field name="company_short_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COMPANY_SHORT_NAME"/> </bm:fields> </bm:model>