|
|
@@ -113,6 +113,9 @@ public class ActivityConfigurationUseServiceImpl extends ServiceImpl<ActivityCon
|
|
|
if (baseMapper.queryByUse(bo) > 0){
|
|
|
throw new IllegalArgumentException("已领取活动,请勿重复领取");
|
|
|
}
|
|
|
+ if (bo.getConfigurationId() == null){
|
|
|
+ throw new IllegalArgumentException("活动ID为空");
|
|
|
+ }
|
|
|
//未领取过领取活动
|
|
|
bo.setCreateTime(DateUtils.getNowTime());
|
|
|
ActivityConfigurationVo activityConfigurationVo = activityConfigurationService.queryById(bo.getConfigurationId());
|