SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.002622s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 4 AND `customer_id` = 21 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.007356s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.002420s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 4 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.022355s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.002551s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.020099s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 8831 AND `lang_id` = 4 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.022946s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.002465s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000666s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 4 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000307s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000341s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 8831 AND `lang_id` = 4 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000256s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000179s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.002442s ]
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.000876s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000485s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_4` [ RunTime:0.002513s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_4` `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.008752s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 4 AND `customer_id` = 21 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.013528s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 4 AND `customer_id` = 21 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'sheet-metal-fabrication' AND `customer_id` = 21 AND `lang_id` = 4 LIMIT 1 [ RunTime:0.000768s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000454s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000417s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_4` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` = '12312' 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.000413s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_4` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` = '12312' AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '21' LIMIT 1 [ RunTime:0.000295s ]