|
|
@@ -3305,6 +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;
|
|
|
}
|