|
@@ -271,11 +271,11 @@ class UserPerformance extends \common\components\ActiveRecord
|
|
|
'UPDATED_AT' => date('Y-m-d H:i:s', time()),
|
|
'UPDATED_AT' => date('Y-m-d H:i:s', time()),
|
|
|
'REMARK' => DealType::getDealTypeTagById(DealType::USER_PERFORMANCE_SEND),
|
|
'REMARK' => DealType::getDealTypeTagById(DealType::USER_PERFORMANCE_SEND),
|
|
|
'BOUNTY_PERIOD_NUM' => $bountyPeriodNum,
|
|
'BOUNTY_PERIOD_NUM' => $bountyPeriodNum,
|
|
|
- 'PAID_PERIOD_NUM' => $bountyPeriodNum-1,
|
|
|
|
|
|
|
+ 'PAID_PERIOD_NUM' => $bountyPeriodNum+1,
|
|
|
]);
|
|
]);
|
|
|
|
|
|
|
|
// 写日志
|
|
// 写日志
|
|
|
- UserPerformanceLogs::changeAmountLogs($id, $amount, $bountyPeriodNum-1, '', DealType::getDealTypeTagById(DealType::USER_PERFORMANCE_SEND));
|
|
|
|
|
|
|
+ UserPerformanceLogs::changeAmountLogs($id, $amount, $bountyPeriodNum+1, '', DealType::getDealTypeTagById(DealType::USER_PERFORMANCE_SEND));
|
|
|
|
|
|
|
|
$transaction->commit();
|
|
$transaction->commit();
|
|
|
} catch (\Exception $e) {
|
|
} catch (\Exception $e) {
|