This commit is contained in:
aozhiwei 2024-11-09 14:28:42 +08:00
parent f291a48ecc
commit 424acd4b6d

View File

@ -185,7 +185,7 @@ class CircuitRankingService extends BaseService {
return; return;
} }
$androids = SqlHelper::ormSelect $androids = SqlHelper::ormSelect
($this->_getMysql(''), (myself()->_getMysql(''),
't_circuit_battle_phase', 't_circuit_battle_phase',
array( array(
'season' => $currentStageMeta['circuit_season'], 'season' => $currentStageMeta['circuit_season'],
@ -194,7 +194,7 @@ class CircuitRankingService extends BaseService {
) )
); );
$rows = SqlHelper::ormSelect $rows = SqlHelper::ormSelect
($this->_getMysql(''), (myself()->_getMysql(''),
't_circuit_battle_phase', 't_circuit_battle_phase',
array( array(
'season' => $currentStageMeta['circuit_season'], 'season' => $currentStageMeta['circuit_season'],
@ -240,6 +240,7 @@ class CircuitRankingService extends BaseService {
self::updateAndroid($curAndroid, $allocScore, $currentStageMeta); self::updateAndroid($curAndroid, $allocScore, $currentStageMeta);
$lastScore = $currScore; $lastScore = $currScore;
} }
myself()->_rspOk();
} }
private static function updateAndroidScore($android, $newScore, $currentStageMeta) private static function updateAndroidScore($android, $newScore, $currentStageMeta)