[ DB ] CONNECT:[ UseTime:0.021651s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ebx_config` [ RunTime:0.001208s ]
[ SQL ] SELECT * FROM `ebx_config` [ RunTime:0.000373s ]
[ SQL ] select a.hid,a.name,a.alias_name,a.logo,a.thum,a.province,a.city,a.region,a.meal_num,a.yuyue_num,a.score from ebx_hospital as a where a.status = 1 and a.is_show = 1 and FIND_IN_SET(1,a.kind_str) AND a.city = '206' order by a.add_time desc limit 20 [ RunTime:0.057704s ]
[ SQL ] select count(*) as c from ebx_expert as a where a.is_show = 1 and a.kind=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.city = '206' ) 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 = '109' ) group by aa.eid
) [ RunTime:0.025547s ]
[ SQL ] select * from ebx_expert as a where a.is_show = 1 and a.kind=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.city = '206' ) 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 = '109' ) group by aa.eid
) ORDER BY a.weight desc,a.add_time desc LIMIT 0,10 [ RunTime:0.003533s ]
[ SQL ] SHOW COLUMNS FROM `ebx_region` [ RunTime:0.010673s ]
[ SQL ] SELECT * FROM `ebx_region` WHERE ( area_code="027" ) LIMIT 1 [ RunTime:0.000244s ]
[ 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=206 and b.is_show=1 and b.status=1 and FIND_IN_SET(1,b.kind_str) and d.is_show=1 and d.status=1 group by a.id [ RunTime:0.001644s ]
[ 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 a.kind=1 and e.city=206 and e.is_show=1 and e.status=1 and c.is_show=1 and c.status=1 and c.kind=1 and FIND_IN_SET(1,e.kind_str) group by a.cat_id order by a.sort_order asc [ RunTime:0.000539s ]
[ SQL ] SHOW COLUMNS FROM `ebx_project_type` [ RunTime:0.000816s ]
[ SQL ] SELECT `cat_name` FROM `ebx_project_type` WHERE `cat_id` = 109 LIMIT 1 [ RunTime:0.000245s ]