[ DB ] CONNECT:[ UseTime:0.000260s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ebx_config` [ RunTime:0.000943s ]
[ SQL ] SELECT * FROM `ebx_config` [ RunTime:0.001212s ]
[ 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.013026s ]
[ 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.000314s ]
[ 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.000772s ]
[ 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.000722s ]
[ SQL ] SHOW COLUMNS FROM `ebx_article_unique_tags` [ RunTime:0.014298s ]
[ SQL ] SELECT * FROM `ebx_article_unique_tags` ORDER BY create_date desc LIMIT 0,20 [ RunTime:0.000675s ]
[ SQL ] SHOW COLUMNS FROM `ebx_common_cart` [ RunTime:0.005084s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ebx_common_cart` WHERE `session_id` = 'lhpsllqekmcvvhb1gtboaeu9m4' LIMIT 1 [ RunTime:0.001082s ]
[ 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.002567s ]
[ SQL ] SHOW COLUMNS FROM `ebx_search_keywords` [ RunTime:0.006560s ]
[ 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.000531s ]
[ SQL ] select * from ebx_project_type as a where is_show = 1 and kind = 1 order by a.sort_order asc [ RunTime:0.000722s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital` [ RunTime:0.010532s ]
[ SQL ] SELECT * FROM `ebx_hospital` WHERE ( FIND_IN_SET(1,kind_str) and hid=77 ) LIMIT 1 [ RunTime:0.000462s ]
[ SQL ] select a.name,a.number 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='hospital_mytag' and b.type='hospital_mytag' and b.hid=77 order by a.weight asc [ RunTime:0.000624s ]
[ SQL ] select a.*,b.cat_name as b__cat_name,b.parent_id as b__parent_id,c.hid as c__hid,
c.jigoujiesuan_price as c__jigoujiesuan_price,c.xiaoshou_price as c__xiaoshou_price,
c.menzhen_price as c__menzhen_price,c.haoyuan as c__haoyuan,c.is_show as c__is_show,
(select count(*) from ebx_physical_card_hospital as d where d.physical_id=a.physical_id and d.hid>0) as hospital_count
from ebx_physical_card as a left join ebx_project_type as b on a.cat_id=b.cat_id
left join ebx_physical_card_hospital as c on c.physical_id=a.physical_id and c.is_show=1
where a.status=1 and a.is_show=1 and b.is_show=1 and c.is_show=1 and c.hid>0 and b.kind=1 and a.qudao='tuboshu' and c.hid=77 group by a.physical_id order by a.weight asc [ RunTime:0.001068s ]
[ SQL ] select count(*) as c from ebx_expert as a where a.is_show = 1 and a.kind=1 AND a.eid in (select eid from ebx_expert_hospital where hid = '77' group by eid ) [ RunTime:0.000398s ]
[ SQL ] select * from ebx_expert as a where a.is_show = 1 and a.kind=1 AND a.eid in (select eid from ebx_expert_hospital where hid = '77' group by eid ) ORDER BY a.weight desc,a.add_time desc LIMIT 0,4 [ RunTime:0.001006s ]
[ SQL ] select count(*) as c from ebx_hospital_meal_comment as a
left join ebx_hospital_meal as b on a.tid = b.tid
left join ebx_hospital as c on c.hid = a.hid
left join ebx_users as u on u.user_id = a.user_id
left join ebx_users_no as un on u.user_id = un.user_id
where 1 = 1 and a.status = 2 and a.`hid` = '77' [ RunTime:0.000401s ]
[ SQL ] select a.*,b.name as t_name,c.name as h_name,
un.user_no as un_user_no,u.nickname as u_nickname,
u.mobile as u_mobile,u.head_pic from ebx_hospital_meal_comment as a
left join ebx_hospital_meal as b on a.tid = b.tid
left join ebx_hospital as c on c.hid = a.hid
left join ebx_users as u on u.user_id = a.user_id
left join ebx_users_no as un on u.user_id = un.user_id
where 1 = 1 and a.status = 2 and a.`hid` = '77' order by a.add_time desc LIMIT 0,5 [ RunTime:0.002312s ]
[ SQL ] select count(*) as c from ebx_hospital_meal_comment as a
left join ebx_hospital_meal as b on a.tid = b.tid
left join ebx_hospital as c on c.hid = a.hid
left join ebx_users as u on u.user_id = a.user_id
left join ebx_users_no as un on u.user_id = un.user_id
where 1 = 1 and a.status = 2 and a.`hid` = '77' AND a.click > 5 [ RunTime:0.000497s ]
[ SQL ] select a.*,b.name as t_name,c.name as h_name,
un.user_no as un_user_no,u.nickname as u_nickname,
u.mobile as u_mobile,u.head_pic from ebx_hospital_meal_comment as a
left join ebx_hospital_meal as b on a.tid = b.tid
left join ebx_hospital as c on c.hid = a.hid
left join ebx_users as u on u.user_id = a.user_id
left join ebx_users_no as un on u.user_id = un.user_id
where 1 = 1 and a.status = 2 and a.`hid` = '77' AND a.click > 5 order by a.add_time desc LIMIT 0,5 [ RunTime:0.000508s ]
[ SQL ] select count(*) as c from ebx_hospital_meal_comment as a
left join ebx_hospital_meal as b on a.tid = b.tid
left join ebx_hospital as c on c.hid = a.hid
left join ebx_users as u on u.user_id = a.user_id
left join ebx_users_no as un on u.user_id = un.user_id
where 1 = 1 and a.status = 2 and a.`hid` = '77' AND char_length(a.upload_pic) >2 [ RunTime:0.000520s ]
[ SQL ] select a.*,b.name as t_name,c.name as h_name,
un.user_no as un_user_no,u.nickname as u_nickname,
u.mobile as u_mobile,u.head_pic from ebx_hospital_meal_comment as a
left join ebx_hospital_meal as b on a.tid = b.tid
left join ebx_hospital as c on c.hid = a.hid
left join ebx_users as u on u.user_id = a.user_id
left join ebx_users_no as un on u.user_id = un.user_id
where 1 = 1 and a.status = 2 and a.`hid` = '77' AND char_length(a.upload_pic) >2 order by a.add_time desc LIMIT 0,5 [ RunTime:0.000544s ]
[ SQL ] select count(*) as c from ebx_hospital_meal_comment as a
left join ebx_hospital_meal as b on a.tid = b.tid
left join ebx_hospital as c on c.hid = a.hid
left join ebx_users as u on u.user_id = a.user_id
left join ebx_users_no as un on u.user_id = un.user_id
where 1 = 1 and a.status = 2 and a.`hid` = '77' AND a.z_score>=3 AND a.f_score>=3 AND a.t_score>=3 [ RunTime:0.000378s ]
[ SQL ] select a.*,b.name as t_name,c.name as h_name,
un.user_no as un_user_no,u.nickname as u_nickname,
u.mobile as u_mobile,u.head_pic from ebx_hospital_meal_comment as a
left join ebx_hospital_meal as b on a.tid = b.tid
left join ebx_hospital as c on c.hid = a.hid
left join ebx_users as u on u.user_id = a.user_id
left join ebx_users_no as un on u.user_id = un.user_id
where 1 = 1 and a.status = 2 and a.`hid` = '77' AND a.z_score>=3 AND a.f_score>=3 AND a.t_score>=3 order by a.add_time desc LIMIT 0,5 [ RunTime:0.002402s ]
[ SQL ] select a.eid from ebx_expert_hospital as a left join ebx_expert as e on a.eid=e.eid where e.is_show=1 and a.hid=77 [ RunTime:0.000280s ]
[ SQL ] select count(*) as c from ebx_hospital_article as a left join ebx_hospital as e on a.hid=e.hid where a.is_open = 1 AND a.type = 21 AND a.hid = 77 [ RunTime:0.002105s ]
[ SQL ] select a.*, e.`hid` AS `hos__hid`, e.`name` AS `hos__name`, e.`renzheng` AS `hos__renzheng` from ebx_hospital_article as a left join ebx_hospital as e on a.hid=e.hid where a.is_open = 1 AND a.type = 21 AND a.hid = 77 ORDER BY a.publish_time desc LIMIT 0,1000 [ RunTime:0.000400s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_gsdata` [ RunTime:0.001120s ]
[ SQL ] SELECT * FROM `ebx_hospital_gsdata` WHERE `hid` = 77 LIMIT 1 [ RunTime:0.000695s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.002376s ]
[ SQL ] SELECT `tag_name` FROM `ebx_hospital_tags` WHERE ( type='tijian_level' and hid=77 ) LIMIT 1 [ RunTime:0.001009s ]
[ SQL ] select pt.cat_name from ebx_hospital_project_type as hpt left join ebx_project_type as pt on pt.cat_id=hpt.cat_id where hpt.hid=77 and pt.is_show=1 [ RunTime:0.000408s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_zb` [ RunTime:0.003046s ]
[ SQL ] SELECT * FROM `ebx_hospital_zb` WHERE ( hid=77 and is_show=1 ) ORDER BY zb_distance asc [ RunTime:0.000409s ]
[ SQL ] select a.* from ebx_hospital as a where a.status = 1 and a.is_show = 1 and FIND_IN_SET(1,a.kind_str) AND hid != '77' and lng is not null and lat is not null and city = '236' order by round(6378.138*2*asin(SQRT(pow(sin( (22.547325*pi()/180-lat*pi()/180)/2),2)+cos(22.547325*pi()/180)*cos(lat*pi()/180)* pow(sin( (114.096942*pi()/180-lng*pi()/180)/2),2)))*1000) ASC LIMIT 5 [ RunTime:0.000828s ]
[ SQL ] select count(*) as c,sum(z_score) as sum__z_score,sum(f_score) as sum__f_score,sum(t_score) as sum__t_score from ebx_hospital_meal_comment where hid=77 and status=2 [ RunTime:0.008244s ]
[ SQL ] SHOW COLUMNS FROM `ebx_project_type` [ RunTime:0.000927s ]
[ SQL ] SELECT * FROM `ebx_project_type` WHERE `is_show` = 1 AND `parent_id` = 0 ORDER BY `sort_order` asc [ RunTime:0.000558s ]
[ SQL ] select htc.`name`,htc.`number` from ebx_hospital_tag_config as htc
left join ebx_hospital_tags as ht on htc.number=ht.tag_id
left join ebx_hospital as h on ht.hid=h.hid
where htc.`type`='hospital_mytag' and htc.`deleted`=0 and htc.`is_open`=1
and ht.`type`='hospital_mytag' and ht.hid=77 and htc.`name`='医保定点' order by htc.score desc,htc.weight asc [ RunTime:0.000462s ]