SHOW FULL COLUMNS FROM `web_customer_products` [ RunTime:0.000924s ]
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 ('18','495','496','497','498','499','500','501','502','503','504','505','506','507','508','509','510','511','512','513','514','515','516','517','518','519','520','521','522','523','524','525','526','527','528','529','530','531','532','533','534','535','536','537','538','539','540','541','542','543','544','545','546','547','548','549','550','551','552','553','554','555','556','557') LIMIT 1 [ RunTime:0.009207s ]
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.000293s ]
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 ]