SHOW FULL COLUMNS FROM `web_customer_news` [ RunTime:0.001057s ]
SELECT `a`.*,b.title cat_name FROM `web_customer_news` `a` LEFT JOIN `web_customer_news_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`id` = '3276' LIMIT 1 [ RunTime:0.000623s ]
SHOW FULL COLUMNS FROM `web_system_customer` [ RunTime:0.000987s ]
SELECT * FROM `web_system_customer` WHERE `is_online` = 1 AND `id` = 16 LIMIT 1 [ RunTime:0.000343s ]
SELECT `a`.`id`,`a`.`title`,`a`.`cat_id`,`a`.`link_url` FROM `web_customer_news` `a` LEFT JOIN `web_system_customer` `b` ON `a`.`customer_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `b`.`is_online` = '1' AND `a`.`id` > '3276' ORDER BY `a`.`id` DESC LIMIT 1 [ RunTime:0.020135s ]
SELECT `a`.`id`,`a`.`title`,`a`.`cat_id`,`a`.`link_url` FROM `web_customer_news` `a` LEFT JOIN `web_system_customer` `b` ON `a`.`customer_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `b`.`is_online` = '1' AND `a`.`id` < '3276' ORDER BY `a`.`id` DESC LIMIT 1 [ RunTime:0.000954s ]
SELECT `a`.`id`,`a`.`title`,`a`.`abstract`,`a`.`pic`,`a`.`create_time`,`a`.`link_url`,b.title cat_name,`c`.`username`,`d`.`company_name` FROM `web_customer_news` `a` LEFT JOIN `web_customer_news_category` `b` ON `a`.`cat_id`=`b`.`id` LEFT JOIN `web_system_customer` `c` ON `a`.`customer_id`=`c`.`id` LEFT JOIN `web_customer_website_setting` `d` ON `a`.`customer_id`=d.customer_id AND d.lang_id=1 WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `c`.`is_online` = '1' ORDER BY `a`.`hits` DESC,`a`.`create_time` DESC,`a`.`id` DESC LIMIT 6 [ RunTime:0.000416s ]