|
@@ -133,6 +133,12 @@ public class TaShareChildRecordServiceImpl extends ServiceImpl<TaShareChildRecor
|
133
|
133
|
if (taShareActivity.getEndTime().isBefore(LocalDateTime.now())){
|
134
|
134
|
return ResponseBean.error("活动已超时", ResponseBean.ERROR_UNAVAILABLE);
|
135
|
135
|
}
|
|
136
|
+ if(taShareActivity.getActivityStatus().equals(CommConstant.ACTIVITY_STATUS_FINISH)){
|
|
137
|
+ return ResponseBean.error("活动已结束", ResponseBean.ERROR_UNAVAILABLE);
|
|
138
|
+ }
|
|
139
|
+ if(taShareActivity.getStatus().equals(CommConstant.STATUS_UNACCALIMED)){
|
|
140
|
+ return ResponseBean.error("活动已失效", ResponseBean.ERROR_UNAVAILABLE);
|
|
141
|
+ }
|
136
|
142
|
|
137
|
143
|
//查看这个人是否是团员
|
138
|
144
|
QueryWrapper<TaShareChildRecord> taShareChildRecordQueryWrapper = new QueryWrapper<>();
|