|
@@ -182,7 +182,7 @@ public class ActivityRewardServiceImpl extends ServiceImpl<ActivityRewardDao, Ac
|
|
|
try {
|
|
|
lock.lock();
|
|
|
for (ActivityPlanRewardDto activityReward : activityPlanRewardDtos) {
|
|
|
- int update = activityPlanRewardService.reduceStock(activityId, activityReward.getId());
|
|
|
+ int update = activityPlanRewardService.reduceStock(activityId, activityReward.getActivityReward().getId());
|
|
|
if (update == 0) {
|
|
|
continue;
|
|
|
}
|
|
@@ -201,7 +201,7 @@ public class ActivityRewardServiceImpl extends ServiceImpl<ActivityRewardDao, Ac
|
|
|
}
|
|
|
|
|
|
activityRewardName.append(activityReward.getActivityReward().getRewardName());
|
|
|
- activityRewardIdList.add(activityReward.getId());
|
|
|
+ activityRewardIdList.add(activityReward.getActivityReward().getId());
|
|
|
}
|
|
|
// 发送活动获奖推送
|
|
|
if (!StringUtil.isEmpty(activityRewardName)) {
|