<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: gzj $Date: 2022年6月14日 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false"> <bm:operations> <bm:operation name="query"> <bm:query-sql><![CDATA[ select count(1) bp_number from hls_bp_master_address t where t.bp_id = ${@bp_id_tenant} and t.address_type = 'HOUSE_ADDRESS' ]]></bm:query-sql> </bm:operation> </bm:operations> <bm:fields> <bm:field name="bp_number"></bm:field> </bm:fields> </bm:model>