[ DB ] CONNECT:[ UseTime:0.000280s ] 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.000493s ]
[ 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.000618s ]
[ 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.000870s ]
[ 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.000436s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.000764s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 5 AND `type` = 'learn_rank' [ RunTime:0.000270s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 5 AND `type` = 'company_auth' [ RunTime:0.000277s ]
[ 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.000729s ]
[ 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.000387s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 6 AND `type` = 'learn_rank' [ RunTime:0.000251s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 6 AND `type` = 'company_auth' [ RunTime:0.000242s ]
[ 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.000750s ]
[ 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.000335s ]
[ 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.000241s ]
[ 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.000747s ]
[ 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.000369s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 8 AND `type` = 'learn_rank' [ RunTime:0.000246s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 8 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='9' order by b.weight asc [ RunTime:0.000715s ]
[ 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.000358s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 9 AND `type` = 'learn_rank' [ RunTime:0.000268s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 9 AND `type` = 'company_auth' [ RunTime:0.000236s ]
[ 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.000743s ]
[ 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.000346s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 10 AND `type` = 'learn_rank' [ RunTime:0.000244s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 10 AND `type` = 'company_auth' [ RunTime:0.000236s ]
[ 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.000715s ]
[ 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.000350s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'learn_rank' [ RunTime:0.000254s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tag_config` [ RunTime:0.000737s ]
[ 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.000232s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'company_auth' [ RunTime:0.000270s ]
[ 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.000210s ]
[ 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.000745s ]
[ 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.000373s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'learn_rank' [ RunTime:0.000261s ]
[ 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.000209s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'company_auth' [ RunTime:0.000249s ]
[ 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.000227s ]
[ SQL ] SHOW COLUMNS FROM `ebx_region` [ RunTime:0.000769s ]
[ SQL ] SELECT * FROM `ebx_region` WHERE ( area_code="0755" ) LIMIT 1 [ RunTime:0.000210s ]
[ 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.000393s ]
[ 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.000570s ]
[ SQL ] SELECT `name` FROM `ebx_region` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000184s ]
[ SQL ] SELECT `name` FROM `ebx_region` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000169s ]
[ SQL ] SHOW COLUMNS FROM `ebx_project_type` [ RunTime:0.000751s ]
[ SQL ] SELECT `cat_name` FROM `ebx_project_type` WHERE `cat_id` = 0 LIMIT 1 [ RunTime:0.000161s ]