[ DB ] CONNECT:[ UseTime:0.000308s ] 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 a.city = '236' order by a.weight asc,add_time desc limit 20 [ RunTime:0.000664s ]
[ 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.000352s ]
[ 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.000812s ]
[ 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 a.city = '236' order by a.add_time desc limit 20 [ RunTime:0.000666s ]
[ SQL ] SHOW COLUMNS FROM `ebx_article_unique_tags` [ RunTime:0.001310s ]
[ SQL ] SELECT * FROM `ebx_article_unique_tags` ORDER BY create_date desc LIMIT 0,20 [ RunTime:0.000423s ]
[ SQL ] SHOW COLUMNS FROM `ebx_common_cart` [ RunTime:0.001081s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ebx_common_cart` WHERE `session_id` = '3ut7ve0b00idmqdf3r2k5trai5' LIMIT 1 [ RunTime:0.000266s ]
[ SQL ] select a.province,a.city,a.region from ebx_hospital as a where a.status = '1' and a.is_show = 1 AND a.city = '236' group by a.region limit 1000 [ RunTime:0.000483s ]
[ SQL ] SHOW COLUMNS FROM `ebx_search_keywords` [ RunTime:0.001012s ]
[ SQL ] SELECT * FROM `ebx_search_keywords` WHERE ( is_show=1 and area_code="0755" and type=1 and count>3 ) ORDER BY `count` desc,`id` desc LIMIT 10 [ RunTime:0.000443s ]
[ SQL ] select * from ebx_project_type as a where is_show = 1 order by a.sort_order asc [ RunTime:0.000546s ]
[ SQL ] SHOW COLUMNS FROM `ebx_wenti` [ RunTime:0.001382s ]
[ SQL ] SELECT * FROM `ebx_wenti` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000355s ]
[ SQL ] UPDATE `ebx_wenti` SET `click`=`click`+1 WHERE `id` = 2 [ RunTime:0.000336s ]
[ SQL ] select count(*) as c from ebx_huida as a left join ebx_wenti as b on a.wenti_id=b.id where a.is_show = 1 and wenti_id= 2 [ RunTime:0.000366s ]
[ SQL ] select a.*,b.title as b__title from ebx_huida as a left join ebx_wenti as b on a.wenti_id=b.id where a.is_show = 1 and wenti_id= 2 ORDER BY a.is_caina desc,a.ctime desc LIMIT 0,100 [ RunTime:0.000415s ]
[ SQL ] SHOW COLUMNS FROM `ebx_users` [ RunTime:0.001173s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 124 LIMIT 1 [ RunTime:0.000277s ]
[ SQL ] SHOW COLUMNS FROM `ebx_expert` [ RunTime:0.001260s ]
[ SQL ] SELECT * FROM `ebx_expert` WHERE `eid` = 12 LIMIT 1 [ RunTime:0.000419s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 124 LIMIT 1 [ RunTime:0.000300s ]
[ 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.001075s ]
[ SQL ] SHOW COLUMNS FROM `ebx_project_type` [ RunTime:0.001176s ]
[ SQL ] SELECT * FROM `ebx_project_type` WHERE `cat_id` = 91 LIMIT 1 [ RunTime:0.000292s ]
[ SQL ] SELECT * FROM `ebx_project_type` WHERE `cat_id` = 70 LIMIT 1 [ RunTime:0.000247s ]
[ SQL ] SHOW COLUMNS FROM `ebx_wenti_tags` [ RunTime:0.000868s ]
[ SQL ] SELECT * FROM `ebx_wenti_tags` WHERE ( wenti_id=2 ) [ RunTime:0.000244s ]
[ 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.id!=2 and a.id in (select wenti_id from ebx_wenti_tags where tag='牙齿矫正' ) group by a.id order by a.ctime desc LIMIT 0,5 [ RunTime:0.001254s ]
[ 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.000534s ]
[ 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,4 [ RunTime:0.000606s ]
[ 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.000953s ]
[ 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.002395s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.000976s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 5 AND `type` = 'learn_rank' [ RunTime:0.000329s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 5 AND `type` = 'company_auth' [ RunTime:0.000327s ]
[ 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.001082s ]
[ 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.000527s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 6 AND `type` = 'learn_rank' [ RunTime:0.001570s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 6 AND `type` = 'company_auth' [ RunTime:0.000399s ]
[ 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.000997s ]
[ 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.000371s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 7 AND `type` = 'learn_rank' [ RunTime:0.000253s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 7 AND `type` = 'company_auth' [ RunTime:0.000263s ]
[ 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.000775s ]
[ 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.000367s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 8 AND `type` = 'learn_rank' [ RunTime:0.000248s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 8 AND `type` = 'company_auth' [ RunTime:0.000240s ]
[ 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.baidu_shenhe = 0 group by a.id) ttt [ RunTime:0.000560s ]
[ 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.baidu_shenhe = 0 group by a.id ORDER BY a.ctime desc LIMIT 0,5 [ RunTime:0.001159s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 111 LIMIT 1 [ RunTime:0.000224s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 111 LIMIT 1 [ RunTime:0.000236s ]
[ SQL ] SELECT * FROM `ebx_expert` WHERE `eid` = 11 LIMIT 1 [ RunTime:0.000301s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 111 LIMIT 1 [ RunTime:0.000255s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 111 LIMIT 1 [ RunTime:0.000217s ]
[ SQL ] SELECT * FROM `ebx_wenti_tags` WHERE ( wenti_id=2 ) [ RunTime:0.000211s ]