SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.001002s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 1 AND `customer_id` = 117 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.010303s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000811s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 1 AND `customer_id` = 117 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.023238s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 34601 AND `lang_id` = 1 AND `customer_id` = 117 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.022884s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000926s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 117 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000627s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000679s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 117 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000333s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 1 AND `customer_id` = 117 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000207s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 34601 AND `lang_id` = 1 AND `customer_id` = 117 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000190s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 117 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000183s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 117 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000170s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000653s ]
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` = '117' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000212s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 117 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000196s ]
SHOW FULL COLUMNS FROM `web_customer_products` [ RunTime:0.000750s ]
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` = '117' 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.145316s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 1 AND `customer_id` = 117 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.081034s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 1 AND `customer_id` = 117 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000325s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'glass-wool' AND `customer_id` = 117 AND `lang_id` = 1 LIMIT 1 [ RunTime:0.000428s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 117 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000186s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 117 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000174s ]
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` IN ('66122','66124','66125','66126') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '117' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.008243s ]
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` IN ('66122','66124','66125','66126') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '117' LIMIT 1 [ RunTime:0.005964s ]