SHOW FULL COLUMNS FROM `web_customer_products` [ RunTime:0.000866s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `pc` ON `a`.`cat_id`=`pc`.`id` LEFT JOIN `web_system_customer` `b` ON `a`.`customer_id`=`b`.`id` LEFT JOIN `web_customer_website_setting` `c` ON `a`.`customer_id`=c.customer_id AND c.lang_id=1 WHERE `a`.`status` = '1' AND `b`.`is_online` = '1' AND `a`.`on_b2b` = '1' AND `b`.`column_id` IN ('8','217','218','219','220','221','222','223','224','225','226','227','228','229','230','231','232','233','234','235','236','237','238','239','240','241','242','243') LIMIT 1 [ RunTime:0.009166s ]
SELECT `a`.*,`b`.`username`,`c`.`company_name`,pc.title cat_name,pc.link_url cat_link FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `pc` ON `a`.`customer_id`=`pc`.`id` LEFT JOIN `web_system_customer` `b` ON `a`.`customer_id`=`b`.`id` LEFT JOIN `web_customer_website_setting` `c` ON `a`.`customer_id`=c.customer_id AND c.lang_id=1 WHERE `a`.`status` = '1' AND `b`.`is_online` = '1' AND `a`.`on_b2b` = '1' ORDER BY `a`.`update_time` DESC,`a`.`id` DESC LIMIT 5 [ RunTime:0.000295s ]
SELECT `a`.*,`b`.`username`,`c`.`company_name`,pc.title cat_name,pc.link_url cat_link FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `pc` ON `a`.`customer_id`=`pc`.`id` LEFT JOIN `web_system_customer` `b` ON `a`.`customer_id`=`b`.`id` LEFT JOIN `web_customer_website_setting` `c` ON `a`.`customer_id`=c.customer_id AND c.lang_id=1 WHERE `a`.`status` = '1' AND `b`.`is_online` = '1' AND `a`.`on_b2b` = '1' ORDER BY `a`.`update_time` DESC,`a`.`id` DESC LIMIT 5 [ RunTime:0.000221s ]