SHOW FULL COLUMNS FROM `web_customer_products` [ RunTime:0.000839s ]
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 ('28','810','811','812','813','814','815','816','817','818','819','820','821','822','823','824','825','826','827','828','829') LIMIT 1 [ RunTime:0.008718s ]
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.000298s ]
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.000222s ]