diff --git a/Application/Admin/Controller/GameRebateController.class.php b/Application/Admin/Controller/GameRebateController.class.php index 5ba7fd9bc..1f6b77bed 100644 --- a/Application/Admin/Controller/GameRebateController.class.php +++ b/Application/Admin/Controller/GameRebateController.class.php @@ -241,7 +241,7 @@ class GameRebateController extends ThinkController ->field(['game_player_id', 'sum(pay_amount) amount']) ->where(['game_player_id' => ['in', $roleIds], 'game_id' => ['in', $gameIds], 'pay_status' => 1, 'user_id' => ['in', $userIds]]) ->group('game_player_id') - ->select(false); + ->select(); $payAmountItems = []; foreach ($items as $item) {