[ DB ] CONNECT:[ UseTime:0.036912s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ebx_search_keywords` [ RunTime:0.005972s ]
[ SQL ] SELECT * FROM `ebx_search_keywords` WHERE `keyword` = '阳光口腔' AND `area_code` = '0000' AND `type` = 2 LIMIT 1 [ RunTime:0.000535s ]
[ SQL ] UPDATE `ebx_search_keywords` SET `count`=`count`+1 WHERE `id` = 71 [ RunTime:0.030439s ]
[ SQL ] SHOW COLUMNS FROM `ebx_stop_words` [ RunTime:0.011517s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '阳光' LIMIT 1 [ RunTime:0.000313s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '口腔' LIMIT 1 [ RunTime:0.000246s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '阳光' LIMIT 1 [ RunTime:0.012769s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '口腔' LIMIT 1 [ RunTime:0.000250s ]
[ SQL ] select count(*) as c
from ebx_expert as a where 1 = 1 AND a.is_show = 1 and a.status = 1 AND ( a.name like '%阳光%' or a.eid in (
select eid from ebx_expert_hospital as eh where eh.hid in (
select hid from ebx_hospital as hh where 1= 1 and (hh.name like '%阳光%' or hh.alias_name like '%阳光%')
)
group by eh.eid
)or a.name like '%口腔%' or a.eid in (
select eid from ebx_expert_hospital as eh where eh.hid in (
select hid from ebx_hospital as hh where 1= 1 and (hh.name like '%口腔%' or hh.alias_name like '%口腔%')
)
group by eh.eid
)) [ RunTime:0.001024s ]
[ SQL ] select a.*,(CASE WHEN LOCATE( '阳光', 'a.name' ) != 0 THEN 1 ELSE 0 END ) AS index_0,(CASE WHEN LOCATE( '口腔', 'a.name' ) != 0 THEN 1 ELSE 0 END ) AS index_1
from ebx_expert as a where 1 = 1 AND a.is_show = 1 and a.status = 1 AND ( a.name like '%阳光%' or a.eid in (
select eid from ebx_expert_hospital as eh where eh.hid in (
select hid from ebx_hospital as hh where 1= 1 and (hh.name like '%阳光%' or hh.alias_name like '%阳光%')
)
group by eh.eid
)or a.name like '%口腔%' or a.eid in (
select eid from ebx_expert_hospital as eh where eh.hid in (
select hid from ebx_hospital as hh where 1= 1 and (hh.name like '%口腔%' or hh.alias_name like '%口腔%')
)
group by eh.eid
)) order by (index_0+index_1) DESC , a.weight desc , a.add_time desc LIMIT 0,2 [ RunTime:0.001089s ]
[ 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.001994s ]
[ 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.000556s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.000955s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'learn_rank' [ RunTime:0.000318s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tag_config` [ RunTime:0.000928s ]
[ 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.000255s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'company_auth' [ RunTime:0.000301s ]
[ 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.000239s ]
[ 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='11' order by b.weight asc [ RunTime:0.000904s ]
[ 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=11 order by a.weight asc [ RunTime:0.000420s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'learn_rank' [ RunTime:0.000333s ]
[ 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.000252s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'company_auth' [ RunTime:0.000322s ]
[ 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.000370s ]
[ SQL ] select a.tid , b.name , b.w_price, b.y_price , b.thum ,b.cat_top_id , b.cat_two_id , c.name as h_name , c.yuyue_num , b.yuyue_count ,b.virtual_sell ,b.pic_data from ebx_hospital_meal_expert as a
left join ebx_hospital_meal as b on a.tid = b.tid left join ebx_hospital as c on c.hid = b.hid
where a.eid = '12' AND b.status = 1 and b.is_upper = 1 AND b.recommend = 1 order by b.weight asc , b.add_time desc LIMIT 0,2 [ RunTime:0.000835s ]
[ SQL ] select count(*) as c from ebx_hospital_meal_expert as a
left join ebx_hospital_meal as b on a.tid = b.tid left join ebx_hospital as c on c.hid = b.hid
where a.eid = '12' AND b.status = 1 and b.is_upper = 1 AND b.recommend = 1 [ RunTime:0.000402s ]
[ SQL ] SHOW COLUMNS FROM `ebx_coupon_meal` [ RunTime:0.000898s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 82 [ RunTime:0.000214s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 77 [ RunTime:0.000252s ]
[ SQL ] select a.tid , b.name , b.w_price, b.y_price , b.thum ,b.cat_top_id , b.cat_two_id , c.name as h_name , c.yuyue_num , b.yuyue_count ,b.virtual_sell ,b.pic_data from ebx_hospital_meal_expert as a
left join ebx_hospital_meal as b on a.tid = b.tid left join ebx_hospital as c on c.hid = b.hid
where a.eid = '11' AND b.status = 1 and b.is_upper = 1 AND b.recommend = 1 order by b.weight asc , b.add_time desc LIMIT 0,2 [ RunTime:0.001030s ]
[ SQL ] select count(*) as c from ebx_hospital_meal_expert as a
left join ebx_hospital_meal as b on a.tid = b.tid left join ebx_hospital as c on c.hid = b.hid
where a.eid = '11' AND b.status = 1 and b.is_upper = 1 AND b.recommend = 1 [ RunTime:0.000363s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 82 [ RunTime:0.000231s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 77 [ RunTime:0.000227s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '阳光' LIMIT 1 [ RunTime:0.000356s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '口腔' LIMIT 1 [ RunTime:0.000224s ]
[ 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 AND ( a.title like '%阳光%' OR a.title like '%口腔%' ) [ RunTime:0.000622s ]
[ SQL ] select a.article_id,a.cat_id,a.title,a.author,a.come_from,a.keywords,a.introduction,
a.publish_time,a.thumb,a.video_thumb,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 AND ( a.title like '%阳光%' OR a.title like '%口腔%' ) order by a.weight desc , a.publish_time desc LIMIT 0,2 [ RunTime:0.000575s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '阳光' LIMIT 1 [ RunTime:0.000371s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '口腔' LIMIT 1 [ RunTime:0.000228s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '阳光' LIMIT 1 [ RunTime:0.000338s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '口腔' LIMIT 1 [ RunTime:0.000207s ]
[ SQL ] select count(DISTINCT a.hid) as c from ebx_hospital as a left join ebx_hospital_tags as b on a.hid = b.hid where 1 = 1 AND a.status = 1 and a.is_show = 1 AND ( a.name like '%阳光%' or a.name like '%口腔%' ) [ RunTime:0.000528s ]
[ SQL ] select a.hid , a.name , a.alias_name , a.province ,a.city , a.region , a.address , a.logo ,
a.image_url , a.thum ,a.extra , a.lng ,a.lat , a.meal_num ,a.yuyue_num,a.score ,a.comment_num ,a.renzheng,a.business_id
,(CASE WHEN LOCATE( '阳光', a.name ) != 0 THEN 1 ELSE 0 END ) AS index_0,(CASE WHEN LOCATE( '口腔', a.name ) != 0 THEN 1 ELSE 0 END ) AS index_1 from ebx_hospital as a left join ebx_hospital_tags as b on a.hid = b.hid where 1 = 1 AND a.status = 1 and a.is_show = 1 AND ( a.name like '%阳光%' or a.name like '%口腔%' ) group by a.hid order by (index_0+index_1) DESC , a.weight desc , a.hid desc LIMIT 0,2 [ RunTime:0.000926s ]
[ 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=91 order by htc.weight asc [ RunTime:0.000321s ]
[ 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=90 order by htc.weight asc [ RunTime:0.000305s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 91 AND `type` = 'tijian_level' [ RunTime:0.000259s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 90 AND `type` = 'tijian_level' [ RunTime:0.000231s ]
[ 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=91 and status=2 [ RunTime:0.000230s ]
[ 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=90 and status=2 [ RunTime:0.000208s ]
[ SQL ] select a.tid , a.hid ,a.name ,a.y_price ,a.j_price ,a.w_price ,a.thum ,a.sex ,a.virtual_sell ,a.extra,a.description ,
a.yuyue_count , a.buy_count ,b.name as h_name , b.alias_name as h_alias_name
from ebx_hospital_meal as a left join ebx_hospital as b on
a.hid = b.hid
where a.status = 1 and a.is_upper = 1 and a.hid = '91'order by a.weight desc , a.add_time desc limit 3 [ RunTime:0.000267s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_meal` [ RunTime:0.000848s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ebx_hospital_meal` WHERE `hid` = 91 AND `status` = 1 AND `is_upper` = 1 LIMIT 1 [ RunTime:0.000211s ]
[ SQL ] select a.tid , a.hid ,a.name ,a.y_price ,a.j_price ,a.w_price ,a.thum ,a.sex ,a.virtual_sell ,a.extra,a.description ,
a.yuyue_count , a.buy_count ,b.name as h_name , b.alias_name as h_alias_name
from ebx_hospital_meal as a left join ebx_hospital as b on
a.hid = b.hid
where a.status = 1 and a.is_upper = 1 and a.hid = '90'order by a.weight desc , a.add_time desc limit 3 [ RunTime:0.000243s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ebx_hospital_meal` WHERE `hid` = 90 AND `status` = 1 AND `is_upper` = 1 LIMIT 1 [ RunTime:0.000197s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '阳光' LIMIT 1 [ RunTime:0.000291s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '口腔' LIMIT 1 [ RunTime:0.000232s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '阳光' LIMIT 1 [ RunTime:0.007019s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '口腔' LIMIT 1 [ RunTime:0.000266s ]
[ SQL ] select count(distinct a.tid ) as c from ebx_hospital_meal as a left join ebx_hospital as b on a.hid = b.hid
left join ebx_hospital_tags as c on c.hid = a.tid
where 1 = 1 AND a.status = 1 and a.is_upper = 1 AND ( a.name like '%阳光%' or a.tid in (
select tid from ebx_hospital_meal where hid in (
select hid from ebx_hospital as hh where 1 = 1 and (hh.name like '%阳光%' or hh.alias_name like '%阳光%')
)
) or a.name like '%口腔%' or a.tid in (
select tid from ebx_hospital_meal where hid in (
select hid from ebx_hospital as hh where 1 = 1 and (hh.name like '%口腔%' or hh.alias_name like '%口腔%')
)
) ) [ RunTime:0.001127s ]
[ SQL ] select a.*
,b.name as h_name, b.lng ,b.lat ,b.province , b.city ,b.region
,(CASE WHEN LOCATE( '阳光', 'a.name' ) != 0 THEN 1 ELSE 0 END ) AS index_0,(CASE WHEN LOCATE( '口腔', 'a.name' ) != 0 THEN 1 ELSE 0 END ) AS index_1,(CASE WHEN LOCATE( '阳光', 'hh.name' ) != 0 THEN 1 ELSE 0 END ) AS s_index_0,(CASE WHEN LOCATE( '口腔', 'hh.name' ) != 0 THEN 1 ELSE 0 END ) AS s_index_1,(CASE WHEN LOCATE( '阳光', 'hh.alias_name' ) != 0 THEN 1 ELSE 0 END ) AS t_index_0,(CASE WHEN LOCATE( '口腔', 'hh.alias_name' ) != 0 THEN 1 ELSE 0 END ) AS t_index_1 from ebx_hospital_meal as a left join ebx_hospital as b on a.hid = b.hid
left join ebx_hospital_tags as c on c.hid = a.tid
where 1 = 1 AND a.status = 1 and a.is_upper = 1 AND ( a.name like '%阳光%' or a.tid in (
select tid from ebx_hospital_meal where hid in (
select hid from ebx_hospital as hh where 1 = 1 and (hh.name like '%阳光%' or hh.alias_name like '%阳光%')
)
) or a.name like '%口腔%' or a.tid in (
select tid from ebx_hospital_meal where hid in (
select hid from ebx_hospital as hh where 1 = 1 and (hh.name like '%口腔%' or hh.alias_name like '%口腔%')
)
) ) GROUP BY a.tid order by (index_0+index_1+s_index_0+s_index_1+t_index_0+t_index_1) DESC , a.weight desc , a.hid desc LIMIT 0,4 [ RunTime:0.001812s ]