<![CDATA[ select accountid as pickdataid, accountname as pickdataneme from account union all select contactid as pickdataid ,fullname as pickdataname from contract
]]>
</sql>
<!--数据查询[Query002]-->
<sqlid="Query002"databaseId="mysql">
<![CDATA[ select accountid as pickdataid, accountname as pickdataneme from account union all select contactid as pickdataid, fullname as pickdataname from contract union all select leadid as pickdataid, fullname as pickdataneme from lead
<!--数据查询[Lead]-->
<sqlid="Lead"databaseId="mysql">
<![CDATA[ select leadid ad pickdataid, fullname as pickdataname, 'LEAD' as pickdatatype from lead