|
|
@@ -1125,9 +1125,9 @@ class CalcServeBonusCalc extends BaseObject {
|
|
|
'USER_ID=:USER_ID AND PERIOD_NUM=:PERIOD_NUM',
|
|
|
[':USER_ID' => $user['USER_ID'], ':PERIOD_NUM' => $this->_periodNum]);
|
|
|
// 修改用户缓存中记录的用户的最新级别
|
|
|
- $userInfo = CalcCache::getUserInfo($user['USER_ID'], $this->_periodNum);
|
|
|
- $userInfo['LAST_EMP_LV'] = $lastEmpLv;
|
|
|
- CalcCache::setUserInfo($user['USER_ID'], $this->_periodNum, $userInfo);
|
|
|
+ // $userInfo = CalcCache::getUserInfo($user['USER_ID'], $this->_periodNum);
|
|
|
+ // $userInfo['LAST_EMP_LV'] = $lastEmpLv;
|
|
|
+ // CalcCache::setUserInfo($user['USER_ID'], $this->_periodNum, $userInfo);
|
|
|
}
|
|
|
return $this->calcBonusBsGL($offset + $this->_limit);
|
|
|
}
|
|
|
@@ -1463,7 +1463,7 @@ class CalcServeBonusCalc extends BaseObject {
|
|
|
->asArray()
|
|
|
->one();
|
|
|
if (!empty($hasBs)) {
|
|
|
- $lastEmpLv = $userBaseInfo['LAST_EMP_LV'];
|
|
|
+ $lastEmpLv = $hasBs['LEVEL_ID'];
|
|
|
}
|
|
|
} else {
|
|
|
$lastEmpLv = $userBaseInfo['LAST_EMP_LV'];
|