SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '20' 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.118895s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000946s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 1 AND `customer_id` = 20 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.002379s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000696s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'network-and-server-online-ups' AND `customer_id` = 20 AND `lang_id` = 1 LIMIT 1 [ RunTime:0.000552s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '20' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.115005s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '20' LIMIT 1 [ RunTime:0.085568s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '20' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 0,20 [ RunTime:0.029697s ]