SHOW FULL COLUMNS FROM `web_customer_products` [ RunTime:0.000898s ]
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 ('21','611','612','613','614','615','616','617','618','619','620','621','622','623','624','625','626','627','628','629','630','631','632','633','634','635','636','637','638','639','640','641','642','643','644','645','646','647','648') LIMIT 1 [ RunTime:0.009502s ]
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.000334s ]
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.000299s ]