|
@@ -497,7 +497,7 @@ public class CourseScheduleStudentPaymentServiceImpl extends BaseServiceImpl<Lon
|
|
BigDecimal typeCourseTotalOriginalPrice = new BigDecimal("0"), typeCourseTotalCurrentPrice = new BigDecimal("0");
|
|
BigDecimal typeCourseTotalOriginalPrice = new BigDecimal("0"), typeCourseTotalCurrentPrice = new BigDecimal("0");
|
|
for (CourseSchedule courseSchedule : courseScheduleTypeListEntry.getValue()) {
|
|
for (CourseSchedule courseSchedule : courseScheduleTypeListEntry.getValue()) {
|
|
if(existCourseIds.contains(courseSchedule.getId())){
|
|
if(existCourseIds.contains(courseSchedule.getId())){
|
|
- continue;
|
|
|
|
|
|
+ throw new BizException("该学员已在此班级{}课程中", courseSchedule.getId());
|
|
}
|
|
}
|
|
//课程时长
|
|
//课程时长
|
|
int courseDuration = DateUtil.minutesBetween(courseSchedule.getStartClassTime(), courseSchedule.getEndClassTime());
|
|
int courseDuration = DateUtil.minutesBetween(courseSchedule.getStartClassTime(), courseSchedule.getEndClassTime());
|