SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.001236s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 1 AND `customer_id` = 20 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.026300s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.001040s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 1 AND `customer_id` = 20 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.025416s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 1602 AND `lang_id` = 1 AND `customer_id` = 20 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.023946s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000913s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 20 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000750s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000767s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 20 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000687s ]
SHOW FULL COLUMNS FROM `web_customer_download_type` [ RunTime:0.000771s ]
SELECT * FROM `web_customer_download_type` WHERE `status` = 1 AND `customer_id` = 20 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000730s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 1 AND `customer_id` = 20 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000292s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 1602 AND `lang_id` = 1 AND `customer_id` = 20 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000249s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 20 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000281s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 20 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000199s ]
SELECT * FROM `web_customer_download_type` WHERE `status` = 1 AND `customer_id` = 20 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000253s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000817s ]
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` = '20' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000291s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 20 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000285s ]
SHOW FULL COLUMNS FROM `web_customer_products` [ RunTime:0.001014s ]
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` = '20' 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.117260s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 1 AND `customer_id` = 20 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.002353s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 1 AND `customer_id` = 20 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000338s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'computer-and-elevator-ups' AND `customer_id` = 20 AND `lang_id` = 1 LIMIT 1 [ RunTime:0.000567s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 20 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000250s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 20 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000242s ]
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 ('2668','2669','2670') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '20' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.109620s ]
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 ('2668','2669','2670') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '20' LIMIT 1 [ RunTime:0.030769s ]
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`.`cat_id` IN ('2668','2669','2670') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '20' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 0,20 [ RunTime:0.010855s ]