[ DB ] CONNECT:[ UseTime:0.000259s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ 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.city = '236' ) group by aa.eid
) [ RunTime:0.000599s ]
[ 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.city = '236' ) group by aa.eid
) ORDER BY a.weight asc , a.add_time desc LIMIT 0,10 [ RunTime:0.000790s ]
[ SQL ] select a.hid,b.* from ebx_expert_hospital as a left join ebx_hospital as b on a.hid=b.hid where a.eid='5' order by b.weight asc [ RunTime:0.000974s ]
[ SQL ] select b.* from ebx_hospital_tag_config as a left join ebx_hospital_tags as b on a.number=b.tag_id where a.`is_open`=1 and a.`deleted`=0 and a.type='expert_mytag' and b.type='expert_mytag' and b.hid=5 order by a.weight asc [ RunTime:0.000430s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.000895s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 5 AND `type` = 'learn_rank' [ RunTime:0.000289s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 5 AND `type` = 'company_auth' [ RunTime:0.000260s ]
[ SQL ] select a.hid,b.* from ebx_expert_hospital as a left join ebx_hospital as b on a.hid=b.hid where a.eid='6' order by b.weight asc [ RunTime:0.000831s ]
[ SQL ] select b.* from ebx_hospital_tag_config as a left join ebx_hospital_tags as b on a.number=b.tag_id where a.`is_open`=1 and a.`deleted`=0 and a.type='expert_mytag' and b.type='expert_mytag' and b.hid=6 order by a.weight asc [ RunTime:0.000423s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 6 AND `type` = 'learn_rank' [ RunTime:0.000256s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 6 AND `type` = 'company_auth' [ RunTime:0.000250s ]
[ SQL ] select a.hid,b.* from ebx_expert_hospital as a left join ebx_hospital as b on a.hid=b.hid where a.eid='7' order by b.weight asc [ RunTime:0.000839s ]
[ SQL ] select b.* from ebx_hospital_tag_config as a left join ebx_hospital_tags as b on a.number=b.tag_id where a.`is_open`=1 and a.`deleted`=0 and a.type='expert_mytag' and b.type='expert_mytag' and b.hid=7 order by a.weight asc [ RunTime:0.000352s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 7 AND `type` = 'learn_rank' [ RunTime:0.000265s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 7 AND `type` = 'company_auth' [ RunTime:0.000273s ]
[ SQL ] select a.hid,b.* from ebx_expert_hospital as a left join ebx_hospital as b on a.hid=b.hid where a.eid='8' order by b.weight asc [ RunTime:0.000993s ]
[ SQL ] select b.* from ebx_hospital_tag_config as a left join ebx_hospital_tags as b on a.number=b.tag_id where a.`is_open`=1 and a.`deleted`=0 and a.type='expert_mytag' and b.type='expert_mytag' and b.hid=8 order by a.weight asc [ RunTime:0.000502s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 8 AND `type` = 'learn_rank' [ RunTime:0.000306s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 8 AND `type` = 'company_auth' [ RunTime:0.000320s ]
[ SQL ] select a.hid,b.* from ebx_expert_hospital as a left join ebx_hospital as b on a.hid=b.hid where a.eid='9' order by b.weight asc [ RunTime:0.000982s ]
[ SQL ] select b.* from ebx_hospital_tag_config as a left join ebx_hospital_tags as b on a.number=b.tag_id where a.`is_open`=1 and a.`deleted`=0 and a.type='expert_mytag' and b.type='expert_mytag' and b.hid=9 order by a.weight asc [ RunTime:0.000394s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 9 AND `type` = 'learn_rank' [ RunTime:0.000257s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 9 AND `type` = 'company_auth' [ RunTime:0.000254s ]
[ SQL ] select a.hid,b.* from ebx_expert_hospital as a left join ebx_hospital as b on a.hid=b.hid where a.eid='10' order by b.weight asc [ RunTime:0.000867s ]
[ SQL ] select b.* from ebx_hospital_tag_config as a left join ebx_hospital_tags as b on a.number=b.tag_id where a.`is_open`=1 and a.`deleted`=0 and a.type='expert_mytag' and b.type='expert_mytag' and b.hid=10 order by a.weight asc [ RunTime:0.000377s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 10 AND `type` = 'learn_rank' [ RunTime:0.000255s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 10 AND `type` = 'company_auth' [ RunTime:0.000258s ]
[ SQL ] select a.hid,b.* from ebx_expert_hospital as a left join ebx_hospital as b on a.hid=b.hid where a.eid='11' order by b.weight asc [ RunTime:0.000899s ]
[ SQL ] select b.* from ebx_hospital_tag_config as a left join ebx_hospital_tags as b on a.number=b.tag_id where a.`is_open`=1 and a.`deleted`=0 and a.type='expert_mytag' and b.type='expert_mytag' and b.hid=11 order by a.weight asc [ RunTime:0.000416s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'learn_rank' [ RunTime:0.000261s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tag_config` [ RunTime:0.000919s ]
[ SQL ] SELECT * FROM `ebx_hospital_tag_config` WHERE ( is_open = 1 and type = "learn_rank" and number in (10) ) ORDER BY weight desc [ RunTime:0.000237s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'company_auth' [ RunTime:0.000261s ]
[ SQL ] SELECT * FROM `ebx_hospital_tag_config` WHERE ( is_open = 1 and type = "company_auth" and number in (9) ) ORDER BY weight desc [ RunTime:0.000213s ]
[ SQL ] select a.hid,b.* from ebx_expert_hospital as a left join ebx_hospital as b on a.hid=b.hid where a.eid='12' order by b.weight asc [ RunTime:0.000913s ]
[ SQL ] select b.* from ebx_hospital_tag_config as a left join ebx_hospital_tags as b on a.number=b.tag_id where a.`is_open`=1 and a.`deleted`=0 and a.type='expert_mytag' and b.type='expert_mytag' and b.hid=12 order by a.weight asc [ RunTime:0.000504s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'learn_rank' [ RunTime:0.000346s ]
[ SQL ] SELECT * FROM `ebx_hospital_tag_config` WHERE ( is_open = 1 and type = "learn_rank" and number in (10) ) ORDER BY weight desc [ RunTime:0.000260s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'company_auth' [ RunTime:0.000333s ]
[ SQL ] SELECT * FROM `ebx_hospital_tag_config` WHERE ( is_open = 1 and type = "company_auth" and number in (9) ) ORDER BY weight desc [ RunTime:0.000261s ]
[ SQL ] SHOW COLUMNS FROM `ebx_region` [ RunTime:0.001049s ]
[ SQL ] SELECT * FROM `ebx_region` WHERE ( area_code="0755" ) LIMIT 1 [ RunTime:0.000236s ]
[ 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=236 and b.is_show=1 and b.status=1 and d.is_show=1 and d.status=1 group by a.id [ RunTime:0.000481s ]
[ 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=236 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.000764s ]
[ SQL ] SELECT `name` FROM `ebx_region` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000232s ]
[ SQL ] SELECT `name` FROM `ebx_region` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000160s ]
[ SQL ] SHOW COLUMNS FROM `ebx_project_type` [ RunTime:0.000942s ]
[ SQL ] SELECT `cat_name` FROM `ebx_project_type` WHERE `cat_id` = 0 LIMIT 1 [ RunTime:0.000162s ]