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

View File

@ -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)