SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.000961s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 21 AND `customer_id` = 31 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.009224s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000756s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 21 AND `customer_id` = 31 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.022727s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 11324 AND `lang_id` = 21 AND `customer_id` = 31 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.023198s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000728s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 31 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.001086s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000670s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 31 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000460s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 21 AND `customer_id` = 31 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000230s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 11324 AND `lang_id` = 21 AND `customer_id` = 31 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000243s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 31 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000242s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 31 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000209s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000671s ]
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` = '31' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000235s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 31 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000222s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_21` [ RunTime:0.000750s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_21` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '31' 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.001083s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 21 AND `customer_id` = 31 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.015018s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 21 AND `customer_id` = 31 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000370s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_21` `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` = '31' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.000404s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_21` `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` = '31' LIMIT 1 [ RunTime:0.000356s ]