SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.000978s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 3 AND `customer_id` = 31 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.024724s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000822s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 3 AND `customer_id` = 31 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.022606s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 11306 AND `lang_id` = 3 AND `customer_id` = 31 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.022892s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000875s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 31 AND `lang_id` = 3 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.002064s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000678s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 31 AND `lang_id` = 3 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000421s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 3 AND `customer_id` = 31 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000197s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 11306 AND `lang_id` = 3 AND `customer_id` = 31 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000211s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 31 AND `lang_id` = 3 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000195s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 31 AND `lang_id` = 3 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000163s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000611s ]
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.000210s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_3` [ RunTime:0.000687s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_3` `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.001081s ]
SELECT * FROM `web_customer_column` WHERE `type` = 3 AND `parentid` = 0 AND `customer_id` = 31 AND `lang_id` = 3 LIMIT 1 [ RunTime:0.014949s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 3 AND `customer_id` = 31 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `web_customer_news_lang_3` [ RunTime:0.000861s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_3` `a` LEFT JOIN `web_customer_news_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.002068s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_3` `a` LEFT JOIN `web_customer_news_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.000259s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `lang_id` = 3 AND `customer_id` = 0 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000328s ]