|
|
@@ -137,10 +137,12 @@ public class KxsCampServiceImpl extends ServiceImpl<KxsCampMapper, KxsCamp> impl
|
|
|
if(kxsCamp == null){
|
|
|
return R.failed(excel.getCampId() + "训练营编号不存在,请重新上传!");
|
|
|
}
|
|
|
-
|
|
|
+ if (kxsCamp.getStatus() == 2){
|
|
|
+ return R.failed(excel.getCampId() + "该训练营已结束,无法再参与");
|
|
|
+ }
|
|
|
if (Objects.isNull(user)) {
|
|
|
errorMsg.add(excel.getUserCode() + "创客未找到!");
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
if(user.getRealStatus() != 1){
|
|
|
errorMsg.add(excel.getUserCode() + "创客未实名!");
|
|
|
}
|