rushfee/build/classes/db/org_sql.xml

1 line
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqls SYSTEM "sql_definition.dtd">
<sqls>
<sql group="rushfee_org">
<i id="getOrgList"><![CDATA[
select
org_id id,
org_short_name text,
parent_org_id pid
from
COMPANY_ORGANIZE
where org_id !=3701 order by org_id
]]></i>
<i id="getOrgListhotwire"><![CDATA[
select
org_id id,
org_short_name||'分公司' text,
parent_org_id pid
from
COMPANY_ORGANIZE
where org_id !=3701 order by org_id
]]></i>
<i id="getmprice"><![CDATA[
select DISTINCT MPRICE text from T_CALLCENTER_MEMBER order by MPRICE
]]></i>
<i id="getmlevel"><![CDATA[
select DISTINCT mlevel text from T_CALLCENTER_MEMBER order by mlevel
]]></i>
<i id="getOrgListByUser"><![CDATA[
select distinct city_name id,city_name text,'0' pid from tel_dic_city
WHERE city_name in(select org_name from SHUIJU_QUYU_USER where user_id ={userId})
]]></i>
<i id="getRecordList"><![CDATA[
select
*
from
RUSH_RECORD
]]></i>
<i id="getRevenueByOrgId"><![CDATA[
select
revenueid id,
revenuename text
from
REVENUE_INFO_FORMAL
where companyid ={companyid}
]]></i>
</sql>
</sqls>