SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_20` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '21' AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND ( a.is_new=1 ) ORDER BY `a`.`sortid` ASC,`a`.`id` DESC LIMIT 8 [ RunTime:0.011578s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000673s ]
SELECT * FROM `web_customer_column` WHERE `type` = 3 AND `parentid` = 0 AND `customer_id` = 21 AND `lang_id` = 20 LIMIT 1 [ RunTime:0.011565s ]
SHOW FULL COLUMNS FROM `web_customer_news_lang_20` [ RunTime:0.000842s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_20` `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`.`customer_id` = '21' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.000773s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_20` `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`.`customer_id` = '21' LIMIT 1 [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000629s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `lang_id` = 20 AND `customer_id` = 0 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000367s ]