SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.001079s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 12 AND `customer_id` = 18 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.023032s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.001030s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 12 AND `customer_id` = 18 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.058264s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 6576 AND `lang_id` = 12 AND `customer_id` = 18 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.030291s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000978s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 18 AND `lang_id` = 12 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.001244s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000747s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 18 AND `lang_id` = 12 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000553s ]
SHOW FULL COLUMNS FROM `web_customer_download_type` [ RunTime:0.000734s ]
SELECT * FROM `web_customer_download_type` WHERE `status` = 1 AND `customer_id` = 18 AND `lang_id` = 12 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000643s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 12 AND `customer_id` = 18 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000265s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 6576 AND `lang_id` = 12 AND `customer_id` = 18 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000232s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 18 AND `lang_id` = 12 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000239s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 18 AND `lang_id` = 12 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000217s ]
SELECT * FROM `web_customer_download_type` WHERE `status` = 1 AND `customer_id` = 18 AND `lang_id` = 12 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000748s ]
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` = '18' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000269s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 18 AND `lang_id` = 12 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000250s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_12` [ RunTime:0.000774s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_12` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '18' 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.003414s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 12 AND `customer_id` = 18 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.008733s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 12 AND `customer_id` = 18 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000382s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'kitchenware' AND `customer_id` = 18 AND `lang_id` = 12 LIMIT 1 [ RunTime:0.000563s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 18 AND `lang_id` = 12 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000238s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 18 AND `lang_id` = 12 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000241s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_12` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('10121','10170','20766','20815') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '18' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.000519s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_12` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('10121','10170','20766','20815') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '18' LIMIT 1 [ RunTime:0.000454s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_12` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('10121','10170','20766','20815') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '18' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 20,20 [ RunTime:0.003225s ]