[ DB ] CONNECT:[ UseTime:0.000337s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ 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 = '124' order by a.add_time desc limit 20 [ RunTime:0.000472s ]
[ SQL ] SHOW COLUMNS FROM `ebx_region` [ RunTime:0.000977s ]
[ SQL ] SELECT * FROM `ebx_region` WHERE ( area_code="0571" ) LIMIT 1 [ RunTime:0.000304s ]
[ SQL ] select * from ebx_hospital where `is_show` = 1 and `status` = 1 and `city` = 124 order by `weight` asc,`hid` asc limit 5 [ RunTime:0.000484s ]
[ 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 = '124' ) group by aa.eid
) [ RunTime:0.000570s ]
[ 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 = '124' ) group by aa.eid
) ORDER BY a.weight asc , a.add_time desc LIMIT 0,5 [ RunTime:0.000582s ]
[ SQL ] select a.*,e.name as e__name,e.title as e__title from ebx_kepu as a left join ebx_expert as e on a.eid=e.eid where a.kepu_type=1 and a.is_open=1 order by a.kepu_id desc limit 5 [ RunTime:0.000435s ]
[ SQL ] select count(*) as c from ebx_article as a left join ebx_article_cat as b on a.cat_id = b.cat_id where a.is_open = 1 [ RunTime:0.000604s ]
[ SQL ] select a.article_id,a.cat_id,a.title,a.author,a.come_from,a.keywords,a.add_time,a.introduction,a.update_time,
a.description,a.publish_time,a.thumb,a.video_thumb,a.image_url,a.user_id,a.type,a.click,a.virtual_num,a.zan,a.virtual_zan,b.cat_name
from ebx_article as a left join ebx_article_cat as b on a.cat_id = b.cat_id where a.is_open = 1 order by a.article_id desc limit 0,5 [ RunTime:0.000366s ]
[ SQL ] SHOW COLUMNS FROM `ebx_users` [ RunTime:0.000860s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 229 LIMIT 1 [ RunTime:0.000232s ]
[ SQL ] SHOW COLUMNS FROM `ebx_article_tags` [ RunTime:0.000709s ]
[ SQL ] SELECT * FROM `ebx_article_tags` WHERE `article_id` = 100 [ RunTime:0.000195s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 125 LIMIT 1 [ RunTime:0.000216s ]
[ SQL ] SELECT * FROM `ebx_article_tags` WHERE `article_id` = 99 [ RunTime:0.000187s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 188 LIMIT 1 [ RunTime:0.000210s ]
[ SQL ] SELECT * FROM `ebx_article_tags` WHERE `article_id` = 98 [ RunTime:0.000191s ]
[ SQL ] SHOW COLUMNS FROM `ebx_article_unique_tags` [ RunTime:0.000739s ]
[ SQL ] SELECT `tag`,`tag_id` FROM `ebx_article_unique_tags` WHERE `tag` IN ('测试标签','第一','第一个标签') [ RunTime:0.000245s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 123 LIMIT 1 [ RunTime:0.000230s ]
[ SQL ] SELECT * FROM `ebx_article_tags` WHERE `article_id` = 97 [ RunTime:0.000215s ]
[ SQL ] SELECT `tag`,`tag_id` FROM `ebx_article_unique_tags` WHERE `tag` IN ('最后标签','第一个标签') [ RunTime:0.000205s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 100 LIMIT 1 [ RunTime:0.000239s ]
[ SQL ] SELECT * FROM `ebx_article_tags` WHERE `article_id` = 96 [ RunTime:0.000186s ]
[ SQL ] select * from ebx_article_tags as a where a.article_id = '100' [ RunTime:0.000165s ]
[ SQL ] select * from ebx_article_tags as a where a.article_id = '99' [ RunTime:0.000156s ]
[ SQL ] select * from ebx_article_tags as a where a.article_id = '98' [ RunTime:0.000181s ]
[ SQL ] SELECT * FROM `ebx_article_unique_tags` WHERE `tag` = '测试标签' LIMIT 1 [ RunTime:0.000219s ]
[ SQL ] SELECT * FROM `ebx_article_unique_tags` WHERE `tag` = '第一' LIMIT 1 [ RunTime:0.000197s ]
[ SQL ] SELECT * FROM `ebx_article_unique_tags` WHERE `tag` = '第一个标签' LIMIT 1 [ RunTime:0.000197s ]
[ SQL ] select * from ebx_article_tags as a where a.article_id = '97' [ RunTime:0.000198s ]
[ SQL ] SELECT * FROM `ebx_article_unique_tags` WHERE `tag` = '最后标签' LIMIT 1 [ RunTime:0.000211s ]
[ SQL ] SELECT * FROM `ebx_article_unique_tags` WHERE `tag` = '第一个标签' LIMIT 1 [ RunTime:0.000228s ]
[ SQL ] select * from ebx_article_tags as a where a.article_id = '96' [ RunTime:0.000188s ]
[ SQL ] SHOW COLUMNS FROM `ebx_ad` [ RunTime:0.000816s ]
[ SQL ] SELECT `ad_link`,`ad_name`,`ad_code`,`target`,`province`,`city`,`area_code` FROM `ebx_ad` WHERE ( pid=5 and enabled=1 and start_time<= 1757260800 and end_time >= 1757260800 ) ORDER BY orderby asc [ RunTime:0.000251s ]
[ SQL ] select count(*) as c from ebx_hospital as a where 1 = 1 AND a.status = 1 and a.is_show = 1 AND a.city = '124' limit 1 [ RunTime:0.000434s ]