SHOW FULL COLUMNS FROM `web_system_lang` [ RunTime:0.002488s ]
SELECT * FROM `web_system_lang` WHERE `prefix` = 'sr' LIMIT 1 [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `web_system_customer` [ RunTime:0.002445s ]
SELECT * FROM `web_system_customer` WHERE `username` = 'xieli' AND `is_online` = 1 LIMIT 1 [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.002553s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 50 AND `customer_id` = 21 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.007243s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.002766s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 50 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.021624s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.002395s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 50 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.012318s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 8859 AND `lang_id` = 50 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.022009s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.002395s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 50 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000528s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 50 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000227s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 50 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000476s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 8859 AND `lang_id` = 50 AND `customer_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000307s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 50 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000174s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.002139s ]
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.000228s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 50 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000503s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_50` [ RunTime:0.002387s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_50` `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.011987s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 50 AND `customer_id` = 21 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.011572s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 50 AND `customer_id` = 21 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000357s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'cnc-machining' AND `customer_id` = 21 AND `lang_id` = 50 LIMIT 1 [ RunTime:0.000766s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 50 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000531s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 21 AND `lang_id` = 50 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000511s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_50` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('12242','12438','12487') 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.000493s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_50` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('12242','12438','12487') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '21' LIMIT 1 [ RunTime:0.000424s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_50` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('12242','12438','12487') 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.015224s ]