SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `www_17ic_com`.`ecs_goods` AS g LEFT JOIN `www_17ic_com`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `www_17ic_com`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.brand_id = '75' AND is_best = 1 AND (g.cat_id IN ('47','57','54','51','48','58','55','52','49','59','56','53','50') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 8SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `www_17ic_com`.`ecs_goods` AS g LEFT JOIN `www_17ic_com`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `www_17ic_com`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.brand_id = '75' AND is_promote = 1 AND promote_start_date <= '1773297492' AND promote_end_date >= '1773297492' AND (g.cat_id IN ('47','57','54','51','48','58','55','52','49','59','56','53','50') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 3SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `www_17ic_com`.`ecs_goods` AS g LEFT JOIN `www_17ic_com`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `www_17ic_com`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.brand_id = '75' AND is_hot = 1 AND (g.cat_id IN ('47','57','54','51','48','58','55','52','49','59','56','53','50') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 3SELECT g.*, g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.is_new, g.is_best, g.is_hot, g.shop_price AS org_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, g.promote_price, g.goods_type, IFNULL(AVG(r.comment_rank),0) AS comment_rank,IF(r.comment_rank,count(*),0) AS comment_count, g.promote_start_date, g.promote_end_date, g.goods_brief, g.goods_thumb , g.goods_img, g.goods_dc, g.goods_pk, g.goods_pdfurl FROM `www_17ic_com`.`ecs_goods` AS g LEFT JOIN `www_17ic_com`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' LEFT JOIN `www_17ic_com`.`ecs_comment` AS r ON r.id_value = g.goods_id AND comment_type = 0 AND r.parent_id = 0 AND r.status = 1 WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('47','57','54','51','48','58','55','52','49','59','56','53','50') OR g.goods_id IN ('') )AND g.brand_id=75 group by g.goods_id ORDER BY last_update DESC LIMIT 3240, 12来到了这里