diff --git a/yudao-module-crm/src/main/resources/mapper/statistics/CrmStatisticsProductMapper.xml b/yudao-module-crm/src/main/resources/mapper/statistics/CrmStatisticsProductMapper.xml index b9fad3e..b69e0c1 100644 --- a/yudao-module-crm/src/main/resources/mapper/statistics/CrmStatisticsProductMapper.xml +++ b/yudao-module-crm/src/main/resources/mapper/statistics/CrmStatisticsProductMapper.xml @@ -62,7 +62,7 @@ LEFT JOIN crm_product_category AS category ON product.category_id = category.id AND category.deleted = 0 WHERE GROUP BY category.id, category.name - ORDER BY product_total_price DESC, product_count DESC + ORDER BY product_count DESC, product_total_price DESC