<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: Feng $Date: 2013-9-24 下午2:19:04 $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 h. bp_id,decode(h.bp_class,'NP',h.bp_name,'ORG',h.contact_person) contact_person,h.cell_phone,h.phone_extra,h.phone,h.fax_number FROM hls_bp_master h,con_contract c WHERE c.bp_id_tenant = h.bp_id AND c.contract_id = ${/parameter/@contract_id} ]]></bm:query-sql> </bm:operation> </bm:operations> </bm:model>