SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_50` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '50' 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.000244s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000716s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 50 AND `customer_id` = 50 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.025041s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000969s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'red-yeast-rice-powder' AND `customer_id` = 50 AND `lang_id` = 50 LIMIT 1 [ RunTime:0.000654s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_50` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('29850','30020','30031') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '50' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.001007s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_50` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('29850','30020','30031') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '50' LIMIT 1 [ RunTime:0.000360s ]