Eric 2 years ago
parent
commit
9cf48ed63d

+ 4 - 4
mec-student/src/main/java/com/ym/mec/student/controller/degree/DegreeInfoController.java

@@ -59,16 +59,16 @@ public class DegreeInfoController extends BaseController {
         DegreeWrapper.StudentDegreeInfo wrapper = degreeService.studentDegreeInfoById(id);
 
         // 考级机构-暂未开放此活动
-        if (!user.getTenantId().equals(wrapper.getTenantId())) {
+        /*if (!user.getTenantId().equals(wrapper.getTenantId())) {
             throw new BizException("暂未开放此活动");
-        }
+        }*/
 
         // 考级城市-暂未开放此活动
-        boolean noneMatch = Arrays.stream(wrapper.getOrganIds().split(","))
+        /*boolean noneMatch = Arrays.stream(wrapper.getOrganIds().split(","))
                 .mapToInt(Integer::parseInt).noneMatch(x -> x == user.getOrganId());
         if (Objects.nonNull(user.getOrganId()) && noneMatch) {
             throw new BizException("暂未开放此活动");
-        }
+        }*/
 
         // 查询机构信息
         return succeed(wrapper);