SHOW FULL COLUMNS FROM `web_customer_news` [ RunTime:0.000866s ]
SELECT COUNT(*) AS think_count 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' LIMIT 1 [ RunTime:0.096270s ]
SELECT `a`.*,`b`.`username` 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' ORDER BY `a`.`b2b_time` DESC,`a`.`update_time` DESC,`a`.`id` DESC LIMIT 460,10 [ RunTime:0.127933s ]
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.449302s ]