SHOW FULL COLUMNS FROM `web_customer_products` [ RunTime:0.000933s ]
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 ('17','460','461','462','463','464','465','466','467','468','469','470','471','472','473','474','475','476','477','478','479','480','481','482','483','484','485','486','487','488','489','490','491','492','493','494') LIMIT 1 [ RunTime:0.040295s ]
SELECT `a`.`id`,`a`.`link_url`,`a`.`pic`,`a`.`title`,`a`.`abstract`,`b`.`username`,pc.title cat_name,pc.link_url cat_link,`c`.`company_name`,`c`.`company_address` 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 ('17','460','461','462','463','464','465','466','467','468','469','470','471','472','473','474','475','476','477','478','479','480','481','482','483','484','485','486','487','488','489','490','491','492','493','494') ORDER BY `a`.`b2b_time` DESC,`a`.`update_time` DESC,`a`.`id` DESC LIMIT 0,12 [ RunTime:0.024884s ]
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.000342s ]
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.000232s ]