[ DB ] CONNECT:[ UseTime:0.011450s ] mysql:host=47.97.231.216;dbname=yibohui_dev;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `exhibitor` [ RunTime:0.009627s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count FROM ( SELECT e.*,p.create_time as product_time,p.image as product_image,p.title_cn as product_title,
(select GROUP_CONCAT(cate_name_cn) from exhibitor_category_map as ecm left join product_category as pc on pc.id = ecm.category_id where ecm.exhibitor_id = e.id) as cate_list
FROM `exhibitor` `e` LEFT JOIN `product` `p` ON `p`.`exhibitor_id`=`e`.`id` WHERE `company_cn` <> '' AND `e`.`status` = 1 ORDER BY is_top desc,sort desc,expo_id desc,product_time desc LIMIT 0,999999 ) as a GROUP BY `a`.`company_id` ) `_group_count_` [ RunTime:0.007753s ]
[ SQL ] SELECT * FROM ( SELECT e.*,p.create_time as product_time,p.image as product_image,p.title_cn as product_title,
(select GROUP_CONCAT(cate_name_cn) from exhibitor_category_map as ecm left join product_category as pc on pc.id = ecm.category_id where ecm.exhibitor_id = e.id) as cate_list
FROM `exhibitor` `e` LEFT JOIN `product` `p` ON `p`.`exhibitor_id`=`e`.`id` WHERE `company_cn` <> '' AND `e`.`status` = 1 ORDER BY is_top desc,sort desc,expo_id desc,product_time desc LIMIT 0,999999 ) as a GROUP BY `a`.`company_id` ORDER BY is_top desc,sort desc,expo_id desc,product_time desc LIMIT 21,21 [ RunTime:0.011618s ]
[ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.009060s ]
[ SQL ] SELECT * FROM `product` WHERE `status` = 1 AND `exhibitor_id` IN (2757,2582,2756,2762,2586,2766,2760,2758,2698,2770,2581,2765,2583,2638,2759,2575,2767,2576,2580,2701,2633) ORDER BY `sort` DESC,`id` DESC [ RunTime:0.020141s ]