SHOW FULL COLUMNS FROM `web_system_lang` [ RunTime:0.000860s ]
SELECT * FROM `web_system_lang` WHERE `prefix` = 'bn' LIMIT 1 [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `web_system_customer` [ RunTime:0.000861s ]
SELECT * FROM `web_system_customer` WHERE `username` = 'tangchen' AND `is_online` = 1 LIMIT 1 [ RunTime:0.000289s ]
SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.000795s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 17 AND `customer_id` = 108 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.012062s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000853s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 17 AND `customer_id` = 108 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.029032s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 35965 AND `lang_id` = 17 AND `customer_id` = 108 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.025346s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000963s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 108 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.001018s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000825s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 108 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000446s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 17 AND `customer_id` = 108 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000225s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 35965 AND `lang_id` = 17 AND `customer_id` = 108 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000203s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 108 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000228s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 108 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000165s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000680s ]
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` = '108' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000216s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_17` [ RunTime:0.000749s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_17` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '108' 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.003997s ]
SELECT * FROM `web_customer_column` WHERE `type` = 3 AND `parentid` = 0 AND `customer_id` = 108 AND `lang_id` = 17 LIMIT 1 [ RunTime:0.162154s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 17 AND `customer_id` = 108 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `web_customer_news_lang_17` [ RunTime:0.000899s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_17` `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` = '108' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.004121s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_17` `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` = '108' LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `lang_id` = 17 AND `customer_id` = 0 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000461s ]