|
@@ -157,7 +157,7 @@ public class ActivityRewardServiceImpl extends ServiceImpl<ActivityRewardDao, Ac
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@Transactional(rollbackFor = Exception.class)
|
|
public List<Long> sendReward(Long userId, Long activityId) {
|
|
public List<Long> sendReward(Long userId, Long activityId) {
|
|
if (userRewarded(userId, activityId)) {
|
|
if (userRewarded(userId, activityId)) {
|
|
- return null;
|
|
|
|
|
|
+ return new ArrayList<>();
|
|
}
|
|
}
|
|
ActivityPlan activityPlan = activityPlanService.getById(activityId);
|
|
ActivityPlan activityPlan = activityPlanService.getById(activityId);
|
|
if (activityPlan == null) {
|
|
if (activityPlan == null) {
|