|
@@ -2530,6 +2530,12 @@ public class ApiController {
|
|
|
return R.failed("全职学术推广员不能领取积分包");
|
|
|
}
|
|
|
|
|
|
+ // 校验超过60周岁,不能做任务
|
|
|
+ Map<String, String> checkResult = sysUserService.checkSixtyYearsOld(userVO);
|
|
|
+ if (CollUtil.isNotEmpty(checkResult) && checkResult.containsKey("OVER")) {
|
|
|
+ throw new RuntimeException(checkResult.get("OVER"));
|
|
|
+ }
|
|
|
+
|
|
|
WmScorePackageStatus wmScorePackageStatus = new WmScorePackageStatus();
|
|
|
wmScorePackageStatus.setPackageId(packageId);
|
|
|
wmScorePackageStatus.setUserId(userVO.getUserId() + "");
|