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` = '42' 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.000228s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000707s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 1 AND `customer_id` = 42 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.017982s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000890s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'pole-piece' AND `customer_id` = 42 AND `lang_id` = 1 LIMIT 1 [ RunTime:0.038152s ]
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`.`cat_id` = '18303' AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '42' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.164500s ]
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`.`cat_id` = '18303' AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '42' LIMIT 1 [ RunTime:0.007262s ]