<?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" needAccessControl="false">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
            select t.*
  from exp_org_position_vl t
 WHERE t.POSITION_ID in
       (SELECT t.POSITION_ID
          FROM exp_employee_assigns t
         where t.employee_id =
              (SELECT t.employee_id FROM sys_user t where t.user_id = ${/session/@user_id}))
       and t.position_code='012'
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
