|
|
@@ -3305,17 +3305,12 @@ class BonusCalc extends BaseObject {
|
|
|
$gxRealMonth = $gxDeduct['surplus'];
|
|
|
$gxManageMonth = $gxDeduct['manageTax'];
|
|
|
$gxPointMonth = $gxDeduct['reConsumePoints'];
|
|
|
- // 将此期共享奖流水中的数据实发更新
|
|
|
- CalcBonusGX::updateAll(
|
|
|
- ['AMOUNT' => $gxRealMonth, 'RECONSUME_POINTS' => $gxPointMonth, 'MANAGE_TAX' => $gxManageMonth],
|
|
|
- 'PERIOD_NUM=:PERIOD_NUM AND USER_ID=:USER_ID',
|
|
|
- [':PERIOD_NUM' => $this->_periodNum,':USER_ID' => $userId]
|
|
|
- );
|
|
|
} else {
|
|
|
$gxRealMonth = $gxManageMonth = $gxPointMonth = 0;
|
|
|
}
|
|
|
// 实发共享奖,还需要再扣除管理费和复消积分
|
|
|
$bonus['BONUS_GX'] = $gxRealMonth;
|
|
|
+ $realBonusGx = $gxRealMonth;
|
|
|
$bonus['RECONSUME_POINTS'] = $bonus['RECONSUME_POINTS']+$gxPointMonth;
|
|
|
$realBonusGl += $bonusGlSum + $bonus['BONUS_GL'];
|
|
|
$bonus['MANAGE_TAX'] = $bonus['MANAGE_TAX'] + $gxManageMonth;
|