1
This commit is contained in:
parent
f291a48ecc
commit
424acd4b6d
@ -185,16 +185,16 @@ 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'],
|
||||||
'phase' => $currentStageMeta['circuit_phase'],
|
'phase' => $currentStageMeta['circuit_phase'],
|
||||||
'is_android' => 1,
|
'is_android' => 1,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user