[ DB ] CONNECT:[ UseTime:0.000248s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ebx_config` [ RunTime:0.000875s ]
[ SQL ] SELECT * FROM `ebx_config` [ RunTime:0.000271s ]
[ 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 = '122' order by a.add_time desc limit 20 [ RunTime:0.000537s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital` [ RunTime:0.001089s ]
[ SQL ] SELECT * FROM `ebx_hospital` WHERE `hid` = 74 LIMIT 1 [ RunTime:0.000351s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.000754s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 74 AND `type` = 'tijian_level' [ RunTime:0.000395s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_scheduling` [ RunTime:0.001631s ]
[ SQL ] SELECT * FROM `ebx_hospital_scheduling` WHERE `hid` = 74 LIMIT 1 [ RunTime:0.001087s ]
[ SQL ] select count(*) as c from ebx_order_diary as a where a.is_open = 1 and a.physical_id in (
select id from ebx_order_goods_physical_person as b where b.hid = '74'
) [ RunTime:0.000324s ]
[ SQL ] select count(*) as c from ebx_expert_hospital as b left join ebx_expert as a on b.eid=a.eid where b.hid=74 and a.is_show=1 [ RunTime:0.000247s ]
[ SQL ] select count(*) as c from ebx_hospital_meal_comment as a where a.hid = '74' [ RunTime:0.000177s ]
[ 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=74 order by a.weight asc [ RunTime:0.000284s ]
[ 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=74 and status=2 [ RunTime:0.000261s ]
[ SQL ] SELECT `tag_name` FROM `ebx_hospital_tags` WHERE ( type='tijian_level' and hid=74 ) LIMIT 1 [ RunTime:0.000296s ]
[ 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=74 and pt.is_show=1 [ RunTime:0.000263s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_zb` [ RunTime:0.000782s ]
[ SQL ] SELECT * FROM `ebx_hospital_zb` WHERE ( hid=74 ) ORDER BY zb_distance asc [ RunTime:0.000256s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_gsdata` [ RunTime:0.000866s ]
[ SQL ] SELECT * FROM `ebx_hospital_gsdata` WHERE `hid` = 74 LIMIT 1 [ RunTime:0.000246s ]
[ 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 a.qudao='tuboshu' and c.hid=74 group by a.physical_id order by a.weight asc [ RunTime:0.001562s ]
[ SQL ] select count(*) as c from ebx_expert as a where a.is_show = 1 AND a.eid in (select eid from ebx_expert_hospital where hid = '74' group by eid ) [ RunTime:0.000285s ]
[ SQL ] select * from ebx_expert as a where a.is_show = 1 AND a.eid in (select eid from ebx_expert_hospital where hid = '74' group by eid ) ORDER BY a.weight asc , a.add_time desc LIMIT 0,10 [ RunTime:0.001387s ]
[ 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=74 [ RunTime:0.000219s ]
[ 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 = 74 [ RunTime:0.000206s ]
[ 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 = 74 ORDER BY a.publish_time desc LIMIT 0,1000 [ RunTime:0.000323s ]
[ SQL ] select count(*) as c from ebx_expert_case as a left join ebx_hospital as b on a.hid=b.hid where a.is_show = 1 and a.xiaoguo_pic!='' AND a.hid IN (74) [ RunTime:0.000244s ]
[ SQL ] select a.* from ebx_expert_case as a left join ebx_hospital as b on a.hid=b.hid where a.is_show = 1 and a.xiaoguo_pic!='' AND a.hid IN (74) ORDER BY a.publish_time desc LIMIT 0,5 [ RunTime:0.000286s ]
[ 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` = '74' [ RunTime:0.000267s ]
[ 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
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` = '74' order by a.add_time desc LIMIT 0,5 [ RunTime:0.000343s ]
[ 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=74 and htc.`name`='医保定点' order by htc.score desc,htc.weight asc [ RunTime:0.000344s ]