日期:2014-05-16 浏览次数:20453 次
select sd.domain_name,aa.agent_code, p.name as partyname, p1.name as salesman from agent_agent aa, party p, party p1, sale_salesman ss,service_domain sd where aa.agent_code = ss.agent_code and aa.organ_code = p.id and ss.user_code = p1.id and sd.agent_code = aa.agent_code and sd.domain_name in ()