SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.000911s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 1 AND `customer_id` = 123 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.009344s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000913s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 1 AND `customer_id` = 123 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.023958s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 36241 AND `lang_id` = 1 AND `customer_id` = 123 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.024095s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000902s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 123 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000580s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000689s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 123 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `web_customer_download_type` [ RunTime:0.000721s ]
SELECT * FROM `web_customer_download_type` WHERE `status` = 1 AND `customer_id` = 123 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000401s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 1 AND `customer_id` = 123 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000260s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 36241 AND `lang_id` = 1 AND `customer_id` = 123 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000235s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 123 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000228s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 123 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000214s ]
SELECT * FROM `web_customer_download_type` WHERE `status` = 1 AND `customer_id` = 123 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000219s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000676s ]
SELECT `b`.*,`c`.`is_online` FROM `web_customer_lang` `a` LEFT JOIN `web_system_lang` `b` ON `a`.`lang_id`=`b`.`id` LEFT JOIN `web_system_customer` `c` ON `a`.`customer_id`=`c`.`id` WHERE `a`.`customer_id` = '123' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000263s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 123 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `web_customer_products` [ RunTime:0.000778s ]
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` = '123' 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.141808s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 1 AND `customer_id` = 123 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.086875s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 1 AND `customer_id` = 123 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000311s ]
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` = '123' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.140196s ]
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` = '123' LIMIT 1 [ RunTime:0.008077s ]