|
@@ -55,7 +55,7 @@ public class PracticeGroupController extends BaseController {
|
|
|
@Autowired
|
|
|
private CourseScheduleEvaluateDao courseScheduleEvaluateDao;
|
|
|
|
|
|
- private static final Set<Integer> ENABLE_APPLY_ORGANIDS = new HashSet<>(Arrays.asList(new Integer[]{28,34,37}));
|
|
|
+// private static final Set<Integer> ENABLE_APPLY_ORGANIDS = new HashSet<>(Arrays.asList(new Integer[]{28,34,37}));
|
|
|
|
|
|
@ApiOperation("获取学生的陪练课")
|
|
|
@GetMapping(value = "/findUserPracticeCourses")
|
|
@@ -152,9 +152,9 @@ public class PracticeGroupController extends BaseController {
|
|
|
if(excludeOrganIds.contains(sysUser.getOrganId())){
|
|
|
throw new BizException("请联系老师确认您的所属分部");
|
|
|
}
|
|
|
- if(!ENABLE_APPLY_ORGANIDS.contains(sysUser.getOrganId())){
|
|
|
- throw new BizException("陪练课预约活动已结束");
|
|
|
- }
|
|
|
+// if(!ENABLE_APPLY_ORGANIDS.contains(sysUser.getOrganId())){
|
|
|
+// throw new BizException("陪练课预约活动已结束");
|
|
|
+// }
|
|
|
practiceGroup.setStudentId(sysUser.getId());
|
|
|
return succeed(practiceGroupService.practiceApply(practiceGroup));
|
|
|
}
|