[ DB ] CONNECT:[ UseTime:0.000256s ] mysql:host=localhost;port=3306;dbname=test_92ya_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ebx_wenti` [ RunTime:0.000961s ]
[ SQL ] SELECT * FROM `ebx_wenti` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000350s ]
[ SQL ] UPDATE `ebx_wenti` SET `click`=`click`+1 WHERE `id` = 7 [ RunTime:0.000261s ]
[ SQL ] select count(*) as c from ebx_huida as a left join ebx_wenti as b on a.wenti_id=b.id where a.is_show = 1 and wenti_id= 7 [ RunTime:0.000255s ]
[ SQL ] select a.*,b.title as b__title from ebx_huida as a left join ebx_wenti as b on a.wenti_id=b.id where a.is_show = 1 and wenti_id= 7 ORDER BY a.is_caina desc,a.ctime desc LIMIT 0,100 [ RunTime:0.000281s ]
[ SQL ] SHOW COLUMNS FROM `ebx_users` [ RunTime:0.000816s ]
[ SQL ] SELECT * FROM `ebx_users` WHERE `user_id` = 153 LIMIT 1 [ RunTime:0.000251s ]
[ SQL ] SHOW COLUMNS FROM `ebx_project_type` [ RunTime:0.000775s ]
[ SQL ] SELECT * FROM `ebx_project_type` WHERE `cat_id` = 91 LIMIT 1 [ RunTime:0.000221s ]
[ SQL ] SELECT * FROM `ebx_project_type` WHERE `cat_id` = 70 LIMIT 1 [ RunTime:0.000234s ]
[ SQL ] SHOW COLUMNS FROM `ebx_wenti_tags` [ RunTime:0.000632s ]
[ SQL ] SELECT * FROM `ebx_wenti_tags` WHERE ( wenti_id=7 ) [ RunTime:0.000213s ]
[ SQL ] select a.*,b.nickname as b__nickname,c.cat_name as c__cat_name,hd.id as hd__id,hd.content as hd__content,
hd.is_caina as hd__is_caina,hd.user_id as hd__user_id,hd.user_type as hd__user_type,
hd.zan as hd__zan,hd.virtual_zan as hd__virtual_zan,hd.ctime_cn as hd__ctime_cn from ebx_wenti as a
left join ebx_users as b on b.user_id=a.user_id
left join ebx_project_type as c on c.cat_id=a.cat_id
left join ebx_huida as hd on hd.wenti_id=a.id
where c.is_wenda=1 and a.is_show = 1 and a.huida_count>0 and hd.id>0 and hd.is_show=1 and a.id!=7 and a.id in (select wenti_id from ebx_wenti_tags where tag='牙齿矫正' ) group by a.id order by a.ctime desc LIMIT 0,5 [ RunTime:0.000943s ]
[ SQL ] SELECT * FROM `ebx_wenti_tags` WHERE ( wenti_id=7 ) [ RunTime:0.000197s ]