[ DB ] CONNECT:[ UseTime:0.000267s ] 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 = '220' order by a.weight asc,add_time desc limit 20 [ RunTime:0.000492s ]
[ SQL ] select link_id,link_name,link_url,target from ebx_friend_link where 1 = 1 AND is_show = 1 AND ( city = '220' or province = 0 ) order by `orderby` desc limit 100 [ RunTime:0.000357s ]
[ 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.000596s ]
[ 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 = '220' order by a.add_time desc limit 20 [ RunTime:0.000558s ]
[ SQL ] SHOW COLUMNS FROM `ebx_article_unique_tags` [ RunTime:0.000676s ]
[ SQL ] SELECT * FROM `ebx_article_unique_tags` ORDER BY create_date desc LIMIT 0,20 [ RunTime:0.000339s ]
[ SQL ] SHOW COLUMNS FROM `ebx_common_cart` [ RunTime:0.000610s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ebx_common_cart` WHERE `session_id` = '0t4m4f995htjk86kc8ogpt0pr2' LIMIT 1 [ RunTime:0.000244s ]
[ 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 = '220' group by a.region limit 1000 [ RunTime:0.000519s ]
[ SQL ] SHOW COLUMNS FROM `ebx_search_keywords` [ RunTime:0.000721s ]
[ SQL ] SELECT * FROM `ebx_search_keywords` WHERE ( is_show=1 and area_code='0731' and type=1 and kind=1 and count>3 ) ORDER BY `count` desc,`id` desc LIMIT 10 [ RunTime:0.000427s ]
[ SQL ] select * from ebx_project_type as a where is_show = 1 and kind = 1 order by a.sort_order asc [ RunTime:0.000498s ]
[ SQL ] SHOW COLUMNS FROM `ebx_expert` [ RunTime:0.000968s ]
[ SQL ] SELECT * FROM `ebx_expert` WHERE ( kind=1 and eid=12 ) LIMIT 1 [ RunTime:0.000359s ]
[ 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.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=12 order by a.weight asc [ RunTime:0.000438s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.000545s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'learn_rank' [ RunTime:0.000260s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tag_config` [ RunTime:0.000530s ]
[ 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.000235s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'company_auth' [ RunTime:0.000229s ]
[ 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 ] SHOW COLUMNS FROM `ebx_users_collection` [ RunTime:0.000548s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ebx_users_collection` WHERE `user_id` = 0 AND `target_id` = 12 AND `type` = 'expert' AND `kind` = 1 LIMIT 1 [ RunTime:0.000230s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ebx_users_collection` WHERE `target_id` = 12 AND `type` = 'expert' AND `kind` = 1 LIMIT 1 [ RunTime:0.000213s ]
[ 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 a.cat_id in (74,72) and c.hid=62 group by a.physical_id order by a.weight asc [ RunTime:0.003641s ]
[ SQL ] SHOW COLUMNS FROM `ebx_doctor` [ RunTime:0.001368s ]
[ SQL ] SELECT * FROM `ebx_doctor` WHERE `pcno` = '120360104000111' LIMIT 1 [ RunTime:0.001177s ]
[ SQL ] SHOW COLUMNS FROM `ebx_expert_edu` [ RunTime:0.000791s ]
[ SQL ] SELECT * FROM `ebx_expert_edu` WHERE `eid` = 12 AND `is_delete` = 2 ORDER BY weight desc [ RunTime:0.000314s ]
[ SQL ] select count(*) as c from ebx_kepu as a left join ebx_expert as e on a.eid=e.eid where a.is_open = 1 AND a.eid IN (12) [ RunTime:0.000478s ]
[ SQL ] select a.*, e.`eid` AS `exp__eid`, e.`name` AS `exp__name`, e.`pic` AS `exp__pic`, e.`title` AS `exp__title`, e.`description` As `exp__description`, e.`weight` AS `exp__weight`, e.`status` AS `exp__status`, e.`add_time` AS `exp__add_time`, e.`is_show` AS `exp__is_show`, e.`number` AS `exp__number`, e.`zizhi_pic` AS `exp__zizhi_pic`, e.`rongyu_pic` AS `exp__rongyu_pic`, e.`edit_time` AS `exp__edit_time`, e.`worker_year` AS `exp__worker_year`, e.`diary_count` AS `exp__diary_count` from ebx_kepu as a left join ebx_expert as e on a.eid=e.eid where a.is_open = 1 AND a.eid IN (12) ORDER BY a.publish_time desc LIMIT 0,1 [ RunTime:0.000519s ]
[ SQL ] SELECT * FROM `ebx_expert` WHERE `eid` = 12 LIMIT 1 [ RunTime:0.001906s ]
[ 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.000967s ]
[ SQL ] select a.cat_id,b.cat_name from ebx_expert_project_type as a left join ebx_project_type as b on a.cat_id=b.cat_id where a.eid='12' order by b.sort_order asc [ RunTime:0.000325s ]
[ SQL ] select a.*,b.tag_id,b.letter from ebx_kepu_tags as a left join ebx_article_unique_tags as b on a.tag=b.tag where a.kepu_id=10 [ RunTime:0.000247s ]
[ 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) order by round(6378.138*2*asin(SQRT(pow(sin( (22.567281*pi()/180-lat*pi()/180)/2),2)+cos(22.567281*pi()/180)*cos(lat*pi()/180)* pow(sin( (113.900741*pi()/180-lng*pi()/180)/2),2)))*1000) ASC LIMIT 10 [ RunTime:0.000595s ]
[ SQL ] select e.eid,e.name,e.title,e.worker_year,e.renzheng,e.pic,h.hid,h.name as h__name,h.renzheng as h__renzheng,h.lng as h__lng,h.lat as h__lat
from ebx_expert as e left join ebx_expert_project_type as ept on e.eid=ept.eid
left join ebx_expert_hospital as eh on eh.eid=e.eid left join ebx_hospital as h on h.hid=eh.hid
where e.eid!=12 and e.is_show=1 and e.status=1 and ept.cat_id in (74,72) and eh.hid in (62,84,70,80,92,74,81,77,78,65) and h.is_show=1 and h.status=1 [ RunTime:0.001733s ]