|
@@ -182,7 +182,7 @@ public class ActivityRewardServiceImpl extends ServiceImpl<ActivityRewardDao, Ac
|
|
try {
|
|
try {
|
|
lock.lock();
|
|
lock.lock();
|
|
for (ActivityPlanRewardDto activityReward : activityPlanRewardDtos) {
|
|
for (ActivityPlanRewardDto activityReward : activityPlanRewardDtos) {
|
|
- int update = activityPlanRewardService.reduceStock(activityId, activityReward.getId());
|
|
|
|
|
|
+ int update = activityPlanRewardService.reduceStock(activityId, activityReward.getActivityReward().getId());
|
|
if (update == 0) {
|
|
if (update == 0) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|