<?xml version="1.0" encoding="UTF-8"?><!-- $Author: DJ $Date: 2013-3-3 下午12:08:49 $Revision: 1.0 $Purpose: --><bm:modelxmlns:bm="http://www.leaf-framework.org/schema/bm"><bm:fields><bm:fieldname="value_code"displayWidth="250"forDisplay="true"forQuery="true"prompt="驻外经理编号"/><bm:fieldname="value_name"displayWidth="250"forDisplay="true"forQuery="true"prompt="驻外经理"/></bm:fields><bm:operations><bm:operationname="query"><bm:query-sql><![CDATA[ SELECT ee.employee_id value_code, ee.employee_code, ee.name value_name FROM exp_employees ee #WHERE_CLAUSE# ]]></bm:query-sql></bm:operation></bm:operations><bm:query-fields><bm:query-fieldname="value_code"queryExpression="ee.employee_id = ${@value_code}"/><bm:query-fieldname="value_name"queryExpression="ee.name like '%'||${@value_name}||'%'"/></bm:query-fields><bm:data-filters><bm:data-filtername="query"expression="(ee.employee_id in (select ea.employee_id from EXP_EMPLOYEE_ASSIGNS ea where ea.position_id = 901) and ee.enabled_flag = 'Y')"/></bm:data-filters></bm:model>