From 424acd4b6d8f53d8b45543c4575202c9a2fd2edd Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 9 Nov 2024 14:28:42 +0800 Subject: [PATCH] 1 --- webapp/services/CircuitRankingService.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/webapp/services/CircuitRankingService.php b/webapp/services/CircuitRankingService.php index 06a57059..3ccbe572 100644 --- a/webapp/services/CircuitRankingService.php +++ b/webapp/services/CircuitRankingService.php @@ -185,16 +185,16 @@ class CircuitRankingService extends BaseService { return; } $androids = SqlHelper::ormSelect - ($this->_getMysql(''), - 't_circuit_battle_phase', - array( - 'season' => $currentStageMeta['circuit_season'], - 'phase' => $currentStageMeta['circuit_phase'], - 'is_android' => 1, - ) - ); + (myself()->_getMysql(''), + 't_circuit_battle_phase', + array( + 'season' => $currentStageMeta['circuit_season'], + 'phase' => $currentStageMeta['circuit_phase'], + 'is_android' => 1, + ) + ); $rows = SqlHelper::ormSelect - ($this->_getMysql(''), + (myself()->_getMysql(''), 't_circuit_battle_phase', array( 'season' => $currentStageMeta['circuit_season'], @@ -240,6 +240,7 @@ class CircuitRankingService extends BaseService { self::updateAndroid($curAndroid, $allocScore, $currentStageMeta); $lastScore = $currScore; } + myself()->_rspOk(); } private static function updateAndroidScore($android, $newScore, $currentStageMeta)