|
|
@@ -734,6 +734,9 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
if (Validator.isEmpty(orderGoods.getSevenYear())) {
|
|
|
return "商品年份缺失";
|
|
|
}
|
|
|
+ if (orderGoods.getSevenYear().equals("2021")||orderGoods.getSevenYear().equals("2022")) {
|
|
|
+ return "2021/2022无法报名";
|
|
|
+ }
|
|
|
if(Validator.isNotEmpty(configService.selectConfigByKeyNoCache("seven.office.account"))){
|
|
|
SEVEN_OFFICIALPUSH_INFOACCOUNT = configService.selectConfigByKeyNoCache("seven.office.account");
|
|
|
SEVEN_OFFICIALPUSH_TOKEN = configService.selectConfigByKeyNoCache("seven.office.token");
|
|
|
@@ -1188,7 +1191,9 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
if (Validator.isEmpty(orderGoods)) {
|
|
|
return "班级商品不存在";
|
|
|
}
|
|
|
-
|
|
|
+ if (orderGoods.getSevenYear().equals("2021")||orderGoods.getSevenYear().equals("2022")) {
|
|
|
+ return "2021/2022无法报名";
|
|
|
+ }
|
|
|
/* UserProfile userProfile = iUserProfileService.getOne(new LambdaQueryWrapper<UserProfile>()
|
|
|
.eq(UserProfile::getUserId, bo.getUserId()).eq(UserProfile::getGoodsId, orderGoods.getGoodsId())
|
|
|
.eq(UserProfile::getCurrentStatus, 1).eq(UserProfile::getTypeStatus, 1)
|