[ DB ] CONNECT:[ UseTime:0.000255s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ebx_config` [ RunTime:0.001590s ]
[ SQL ] SELECT * FROM `ebx_config` [ RunTime:0.000331s ]
[ SQL ] select count(*) as c from ebx_expert as a where a.is_show = 1 AND a.eid in (
select aa.eid from ebx_expert_hospital as aa where hid in ( select hid from ebx_hospital as h where h.is_show = 1 AND h.region = '381' AND h.province = '1' ) group by aa.eid
) AND a.eid in (
select aa.eid from ebx_expert_project_type as aa where cat_id in ( select cat_id from ebx_project_type as h where h.is_show = 1 and h.cat_id = '70' ) group by aa.eid
) [ RunTime:0.000835s ]
[ SQL ] select * from ebx_expert as a where a.is_show = 1 AND a.eid in (
select aa.eid from ebx_expert_hospital as aa where hid in ( select hid from ebx_hospital as h where h.is_show = 1 AND h.region = '381' AND h.province = '1' ) group by aa.eid
) AND a.eid in (
select aa.eid from ebx_expert_project_type as aa where cat_id in ( select cat_id from ebx_project_type as h where h.is_show = 1 and h.cat_id = '70' ) group by aa.eid
) ORDER BY a.weight asc , a.add_time desc LIMIT 0,10 [ RunTime:0.001169s ]
[ SQL ] SHOW COLUMNS FROM `ebx_region` [ RunTime:0.000816s ]
[ SQL ] SELECT * FROM `ebx_region` WHERE ( area_code="010" ) LIMIT 1 [ RunTime:0.000234s ]
[ SQL ] select a.id,a.name from ebx_region a
left join ebx_hospital as b on a.id=b.region
left join ebx_expert_hospital as c on c.hid=b.hid
left join ebx_expert as d on d.eid=c.eid
where a.parent_id=1 and b.is_show=1 and b.status=1 and d.is_show=1 and d.status=1 group by a.id [ RunTime:0.000395s ]
[ SQL ] select a.cat_id,a.cat_name,count(*) as c from ebx_project_type a
left join ebx_expert_project_type as b on a.cat_id=b.cat_id
left join ebx_expert as c on b.eid=c.eid
left join ebx_expert_hospital as d on d.eid=c.eid
left join ebx_hospital as e on e.hid=d.hid
where a.is_show=1 and a.parent_id=0 and e.city=1 and e.is_show=1 and e.status=1 and c.is_show=1 and c.status=1 group by a.cat_id order by a.sort_order asc [ RunTime:0.000689s ]
[ SQL ] SELECT `name` FROM `ebx_region` WHERE `id` = 381 LIMIT 1 [ RunTime:0.000212s ]
[ SQL ] SELECT `name` FROM `ebx_region` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000179s ]
[ SQL ] SHOW COLUMNS FROM `ebx_project_type` [ RunTime:0.001027s ]
[ SQL ] SELECT `cat_name` FROM `ebx_project_type` WHERE `cat_id` = 70 LIMIT 1 [ RunTime:0.000195s ]