[ SQL ] SHOW COLUMNS FROM `ebx_stop_words` [ RunTime:0.001004s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '检查' LIMIT 1 [ RunTime:0.000248s ]
[ 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.000245s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '套餐' LIMIT 1 [ RunTime:0.000225s ]
[ 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.000672s ]
[ 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.000892s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '检查' LIMIT 1 [ RunTime:0.000386s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '套餐' LIMIT 1 [ RunTime:0.000237s ]
[ 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.000644s ]
[ 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.000605s ]
[ SQL ] SHOW COLUMNS FROM `ebx_users` [ RunTime:0.000915s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 100 LIMIT 1 [ RunTime:0.000251s ]
[ SQL ] SHOW COLUMNS FROM `ebx_article_tags` [ RunTime:0.000702s ]
[ SQL ] SELECT * FROM `ebx_article_tags` WHERE `article_id` = 73 [ RunTime:0.000210s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 100 LIMIT 1 [ RunTime:0.000225s ]
[ SQL ] SELECT * FROM `ebx_article_tags` WHERE `article_id` = 66 [ RunTime:0.000192s ]
[ SQL ] select * from ebx_article_tags as a where a.article_id = '73' [ RunTime:0.000164s ]
[ SQL ] select * from ebx_article_tags as a where a.article_id = '66' [ RunTime:0.000184s ]
[ 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.000222s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '检查' LIMIT 1 [ RunTime:0.000370s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '套餐' LIMIT 1 [ RunTime:0.000218s ]
[ 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 '%套餐%' ) AND a.city = '239' [ RunTime:0.000509s ]
[ 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 '%套餐%' ) AND a.city = '239' group by a.hid order by (index_0+index_1) DESC , a.weight desc , a.hid desc LIMIT 0,2 [ RunTime:0.000832s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '检查' LIMIT 1 [ RunTime:0.000381s ]
[ 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.000372s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '套餐' LIMIT 1 [ RunTime:0.000224s ]
[ 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 b.city = '239' 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.000736s ]
[ 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 b.city = '239' 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.001108s ]