[ DB ] CONNECT:[ UseTime:0.041285s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ SQL ] select hid,name,alias_name 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 = '236' order by a.weight asc,add_time desc limit 20 [ RunTime:0.000696s ]
[ SQL ] select link_id,link_name,link_url,target from ebx_friend_link where 1 = 1 AND is_show = 1 AND ( city = '236' or province = 0 ) order by `orderby` desc limit 100 [ RunTime:0.019509s ]
[ SQL ] select `id` , `name` , `area_code` from `ebx_region` where 1 = 1 AND is_hot = 1 and area_code is not null and open_pingtai=1 order by weight asc limit 100 [ RunTime:0.000816s ]
[ 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 = '236' order by a.add_time desc limit 20 [ RunTime:0.000733s ]
[ SQL ] SHOW COLUMNS FROM `ebx_article_unique_tags` [ RunTime:0.013141s ]
[ SQL ] SELECT * FROM `ebx_article_unique_tags` ORDER BY create_date desc LIMIT 0,20 [ RunTime:0.000450s ]
[ SQL ] SHOW COLUMNS FROM `ebx_common_cart` [ RunTime:0.011603s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ebx_common_cart` WHERE `session_id` = '6o53rr9ph7f9uj4d42k033s0q4' LIMIT 1 [ RunTime:0.000285s ]
[ SQL ] select a.province,a.city,a.region 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 = '236' group by a.region limit 1000 [ RunTime:0.000611s ]
[ SQL ] SHOW COLUMNS FROM `ebx_search_keywords` [ RunTime:0.012080s ]
[ SQL ] SELECT * FROM `ebx_search_keywords` WHERE ( is_show=1 and area_code='0755' and type=1 and kind=1 and count>3 ) ORDER BY `count` desc,`id` desc LIMIT 10 [ RunTime:0.000988s ]
[ SQL ] select * from ebx_project_type as a where is_show = 1 and kind = 1 order by a.sort_order asc [ RunTime:0.001445s ]
[ SQL ] SHOW COLUMNS FROM `ebx_project_type` [ RunTime:0.006834s ]
[ SQL ] SELECT * FROM `ebx_project_type` WHERE `cat_id` = 70 LIMIT 1 [ RunTime:0.000378s ]
[ SQL ] SELECT * FROM ebx_project_type WHERE is_show = 1 AND is_wenda = 1 ORDER BY sort_order ASC [ RunTime:0.000731s ]
[ SQL ] SELECT wt.cat_id FROM ebx_wenti AS wt LEFT JOIN ebx_huida AS hd ON hd.wenti_id=wt.id WHERE wt.is_show = 1 AND wt.baidu_shenhe = 0 AND wt.huida_count>0 AND wt.id>0 AND hd.is_show=1 GROUP BY wt.cat_id [ RunTime:0.002330s ]
[ 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 = '236' ) group by aa.eid
) [ RunTime:0.015903s ]
[ 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 = '236' ) group by aa.eid
) ORDER BY a.weight desc,a.add_time desc LIMIT 0,4 [ RunTime:0.000686s ]
[ 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.000961s ]
[ 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.000781s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.000769s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'learn_rank' [ RunTime:0.000275s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tag_config` [ RunTime:0.000703s ]
[ 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.000246s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'company_auth' [ RunTime:0.000250s ]
[ 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.000228s ]
[ 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.000774s ]
[ 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.046648s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'learn_rank' [ RunTime:0.000349s ]
[ 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.000258s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'company_auth' [ RunTime:0.000272s ]
[ 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.000233s ]
[ 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.000945s ]
[ 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.025549s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 10 AND `type` = 'learn_rank' [ RunTime:0.000338s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 10 AND `type` = 'company_auth' [ RunTime:0.000252s ]
[ 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.001167s ]
[ 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.003129s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 9 AND `type` = 'learn_rank' [ RunTime:0.000313s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 9 AND `type` = 'company_auth' [ RunTime:0.000243s ]
[ SQL ] SELECT `cat_id`,`cat_name`,`parent_id` FROM `ebx_project_type` WHERE `is_wenda` = 1 ORDER BY parent_id asc [ RunTime:0.002152s ]
[ SQL ] select count(*) as c from (select a.id from ebx_wenti as a left join ebx_project_type as c on c.cat_id=a.cat_id left join ebx_huida as hd on hd.wenti_id=a.id where c.is_wenda=1 and a.is_show = 1 and a.huida_count>0 and hd.id>0 and hd.is_show=1 AND a.cat_id in (70,91,92,93,94) AND a.baidu_shenhe = 0 group by a.id) ttt [ RunTime:0.023716s ]
[ SQL ] select a.*,b.nickname as b__nickname,c.cat_name as c__cat_name,hd.id as hd__id,hd.content as hd__content,
hd.is_caina as hd__is_caina,hd.user_id as hd__user_id,hd.user_type as hd__user_type,
hd.zan as hd__zan,hd.virtual_zan as hd__virtual_zan,hd.ctime_cn as hd__ctime_cn from ebx_wenti as a
left join ebx_users as b on b.user_id=a.user_id
left join ebx_project_type as c on c.cat_id=a.cat_id
left join ebx_huida as hd on hd.wenti_id=a.id where c.is_wenda=1 and a.is_show = 1 and a.huida_count>0 and hd.id>0 and hd.is_show=1 AND a.cat_id in (70,91,92,93,94) AND a.baidu_shenhe = 0 group by a.id ORDER BY a.is_top desc,a.ctime desc,hd.is_caina desc,hd.ctime desc LIMIT 0,10 [ RunTime:0.001401s ]
[ SQL ] SHOW COLUMNS FROM `ebx_expert` [ RunTime:0.001046s ]
[ SQL ] SELECT * FROM `ebx_expert` WHERE `eid` = 11 LIMIT 1 [ RunTime:0.000394s ]
[ SQL ] SHOW COLUMNS FROM `ebx_users` [ RunTime:0.004784s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 124 LIMIT 1 [ RunTime:0.000374s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 185 LIMIT 1 [ RunTime:0.014495s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 153 LIMIT 1 [ RunTime:0.014943s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 123 LIMIT 1 [ RunTime:0.001844s ]
[ SQL ] SELECT * FROM `ebx_expert` WHERE `eid` = 12 LIMIT 1 [ RunTime:0.000748s ]
[ SQL ] select b.tag_id,b.tag from ebx_wenti_tags as a left join ebx_article_unique_tags as b on a.tag=b.tag where a.wenti_id=4 [ RunTime:0.000935s ]
[ SQL ] select b.tag_id,b.tag from ebx_wenti_tags as a left join ebx_article_unique_tags as b on a.tag=b.tag where a.wenti_id=2 [ RunTime:0.000257s ]
[ SQL ] select b.tag_id,b.tag from ebx_wenti_tags as a left join ebx_article_unique_tags as b on a.tag=b.tag where a.wenti_id=8 [ RunTime:0.000265s ]
[ SQL ] select b.tag_id,b.tag from ebx_wenti_tags as a left join ebx_article_unique_tags as b on a.tag=b.tag where a.wenti_id=7 [ RunTime:0.003326s ]
[ SQL ] select b.tag_id,b.tag from ebx_wenti_tags as a left join ebx_article_unique_tags as b on a.tag=b.tag where a.wenti_id=6 [ RunTime:0.000208s ]
[ SQL ] select b.tag_id,b.tag from ebx_wenti_tags as a left join ebx_article_unique_tags as b on a.tag=b.tag where a.wenti_id=5 [ RunTime:0.000204s ]