SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.000718s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 17 AND `customer_id` = 21 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.023914s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000800s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 17 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.027115s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000665s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.139903s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 8844 AND `lang_id` = 17 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.025266s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000590s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.012774s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 17 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000382s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000405s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 8844 AND `lang_id` = 17 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000385s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000176s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000570s ]
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.000989s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000438s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_17` [ RunTime:0.000683s ]
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` = '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.267639s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 17 AND `customer_id` = 21 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.011672s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 17 AND `customer_id` = 21 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000363s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'cnc-machining' AND `customer_id` = 21 AND `lang_id` = 17 LIMIT 1 [ RunTime:0.006906s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000432s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000550s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_17` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('12227','12423','12472') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '21' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.174573s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_17` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('12227','12423','12472') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '21' LIMIT 1 [ RunTime:0.000463s ]
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`.`cat_id` IN ('12227','12423','12472') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '21' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 0,20 [ RunTime:0.226960s ]