|
@@ -489,9 +489,9 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
|
|
|
Integer applyTimes = practiceGroupDao.countUserPracticeApplyRecord(practiceGroup.getStudentId());
|
|
|
|
|
|
-// if (applyTimes >= 1) {
|
|
|
-// throw new BizException("您的预约次数已经达到限制");
|
|
|
-// }
|
|
|
+ if (applyTimes >= 1) {
|
|
|
+ throw new BizException("您的预约次数已经达到限制");
|
|
|
+ }
|
|
|
applyTimes += 1;
|
|
|
|
|
|
practiceGroup.setCoursesStartDate(allCourseDates.get(0));
|