<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: lixi  
    $Date: 2011-8-1 上午10:21:39  
    $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
                    t1.assigned_type
                FROM
                    (SELECT
                        t.assigned_type,
                        t.instance_id
                    FROM
                        sdic_workflow_assigned t
                    WHERE
                        t.user_id      = ${/session/@user_id}
                    ) t1 #WHERE_CLAUSE#
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="assigned_type"/>
    </bm:fields>
</bm:model>
