排行榜

This commit is contained in:
2026-01-09 18:04:19 +08:00
parent 737fb817d3
commit a6bf88c22d

View File

@@ -483,7 +483,7 @@ class GiveGiftBase extends Model
$options['start_time'],
$options['end_time']
);
var_dump($tables);
if (empty($tables)) {
return [];
}
@@ -532,7 +532,7 @@ class GiveGiftBase extends Model
}
$unionSql .= "(" . $sql . ")";
}
var_dump($unionSql);
// 最终统计
if ($options['group_by']) {
$finalSql = "SELECT {$options['group_by']},