SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.001154s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 40 AND `customer_id` = 21 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000823s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 40 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000826s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 40 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000474s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 8858 AND `lang_id` = 40 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000273s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000804s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 40 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000235s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 40 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000247s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 40 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000329s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 8858 AND `lang_id` = 40 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000269s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 40 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000199s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000880s ]
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` = '21' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_40` [ RunTime:0.000842s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_40` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '21' 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.000260s ]
SELECT * FROM `web_customer_column` WHERE `type` = 3 AND `parentid` = 0 AND `customer_id` = 21 AND `lang_id` = 40 LIMIT 1 [ RunTime:0.019893s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 40 AND `customer_id` = 21 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000387s ]
SHOW FULL COLUMNS FROM `web_customer_news_lang_40` [ RunTime:0.001067s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_40` `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` = '21' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.001636s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_40` `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` = '21' LIMIT 1 [ RunTime:0.000308s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `lang_id` = 40 AND `customer_id` = 0 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000475s ]