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` = '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.156555s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.001047s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 1 AND `customer_id` = 21 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.003576s ]
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` = '21' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.154387s ]
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` = '21' LIMIT 1 [ RunTime:0.152462s ]
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` = '21' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 0,20 [ RunTime:0.156976s ]