[ DB ] CONNECT:[ UseTime:0.029559s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ebx_config` [ RunTime:0.001884s ]
[ SQL ] SELECT * FROM `ebx_config` [ RunTime:0.001656s ]
[ SQL ] SHOW COLUMNS FROM `ebx_search_keywords` [ RunTime:0.015837s ]
[ SQL ] SELECT * FROM `ebx_search_keywords` WHERE `keyword` = '阳光口腔' AND `area_code` = '0000' AND `type` = 2 AND `kind` = 1 LIMIT 1 [ RunTime:0.004107s ]
[ SQL ] UPDATE `ebx_search_keywords` SET `count`=`count`+1 WHERE `id` = 71 [ RunTime:0.023397s ]
[ SQL ] SHOW COLUMNS FROM `ebx_stop_words` [ RunTime:0.000710s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '阳光' LIMIT 1 [ RunTime:0.000229s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '口腔' LIMIT 1 [ RunTime:0.000174s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '阳光' LIMIT 1 [ RunTime:0.000359s ]
[ SQL ] SELECT * FROM `ebx_stop_words` WHERE `name` = '口腔' LIMIT 1 [ RunTime:0.000172s ]
[ SQL ] select count(*) as c from ebx_expert as a where a.is_show = 1 and a.status = 1 and a.kind = 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 (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 (hh.name like '%口腔%' or hh.alias_name like '%口腔%')
)
group by eh.eid
)) [ RunTime:0.040804s ]
[ 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 a.is_show = 1 and a.status = 1 and a.kind = 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 (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 (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,10 [ RunTime:0.000716s ]
[ 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.006582s ]
[ 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.000376s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tags` [ RunTime:0.000587s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'learn_rank' [ RunTime:0.000247s ]
[ SQL ] SHOW COLUMNS FROM `ebx_hospital_tag_config` [ RunTime:0.000511s ]
[ 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.000191s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 12 AND `type` = 'company_auth' [ RunTime:0.000220s ]
[ 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.000192s ]
[ 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.000668s ]
[ 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.002854s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'learn_rank' [ RunTime:0.000270s ]
[ 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.000275s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 11 AND `type` = 'company_auth' [ RunTime:0.000264s ]
[ 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.002967s ]
[ 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='5' order by b.weight asc [ RunTime:0.000754s ]
[ 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=5 order by a.weight asc [ RunTime:0.005645s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 5 AND `type` = 'learn_rank' [ RunTime:0.001945s ]
[ SQL ] SELECT * FROM `ebx_hospital_tags` WHERE `hid` = 5 AND `type` = 'company_auth' [ RunTime:0.000243s ]
[ 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.001452s ]
[ 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.008786s ]
[ SQL ] SHOW COLUMNS FROM `ebx_coupon_meal` [ RunTime:0.000586s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 82 [ RunTime:0.000167s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 77 [ RunTime:0.000184s ]
[ 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.000497s ]
[ 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.000255s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 82 [ RunTime:0.000159s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 77 [ RunTime:0.000149s ]
[ 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 = '5' 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.000503s ]
[ 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 = '5' AND b.status = 1 and b.is_upper = 1 AND b.recommend = 1 [ RunTime:0.000385s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 89 [ RunTime:0.014250s ]
[ SQL ] SELECT * FROM `ebx_coupon_meal` WHERE `tid` = 70 [ RunTime:0.000167s ]