|
@@ -331,7 +331,7 @@ public class CourseScheduleStudentPaymentServiceImpl extends BaseServiceImpl<Lon
|
|
|
for (Integer studentId : studentIds) {
|
|
|
List<MusicGroupPaymentStudentCourseDetail> musicGroupPaymentStudentCourseDetails = null;
|
|
|
BigDecimal typeCourseTotalOriginalPrice = new BigDecimal("0"), typeCourseTotalCurrentPrice = new BigDecimal("0");
|
|
|
- int index = courseScheduleStudentPayments.size()==0?0:(courseScheduleStudentPayments.size() - 1);
|
|
|
+ int index = courseScheduleStudentPayments.size();
|
|
|
for (int i = 0; i < courseSchedules.size(); i++) {
|
|
|
CourseSchedule courseSchedule = courseSchedules.get(i);
|
|
|
//优先处理之前的剩余课程
|
|
@@ -353,7 +353,6 @@ public class CourseScheduleStudentPaymentServiceImpl extends BaseServiceImpl<Lon
|
|
|
studentPayment.setExamSongDownloadJson(null);
|
|
|
studentPayment.setId(null);
|
|
|
courseScheduleStudentPayments.add(studentPayment);
|
|
|
- index++;
|
|
|
continue ;
|
|
|
}
|
|
|
}
|