22 lines
645 B
XML
22 lines
645 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE sqls SYSTEM "sql_definition.dtd">
|
|
<sqls>
|
|
<sql group="rushtel">
|
|
<i id="getTelList"><![CDATA[
|
|
select t.mobile as mobile from v_CUSTOMER_CONTACT t
|
|
where t.customer_id={customer_id}
|
|
order by t.is_default desc
|
|
|
|
]]></i>
|
|
|
|
<i id="getContactsList"><![CDATA[
|
|
select customerid,cust_name, to_char(end_date,'yyyy-mm-dd') as end_date,org_name,cust_tax_code,revenuename
|
|
from VIEW_RUSHFEE_LIST l
|
|
where l.customerid in (select distinct c.customer_id
|
|
from v_CUSTOMER_CONTACT c
|
|
where c.mobile = {mobile})
|
|
|
|
]]></i>
|
|
</sql>
|
|
</sqls>
|