排行榜
This commit is contained in:
@@ -536,7 +536,7 @@ class GiveGiftBase extends Model
|
||||
// 最终统计
|
||||
if ($options['group_by']) {
|
||||
$finalSql = "SELECT {$options['group_by']},
|
||||
SUM(total_price) as total_price,
|
||||
SUM(total_price) as total_price
|
||||
FROM ({$unionSql}) as tmp
|
||||
GROUP BY {$options['group_by']}
|
||||
ORDER BY total_price";
|
||||
|
||||
Reference in New Issue
Block a user