|
@@ -47,13 +47,8 @@ public class CourseScheduleStudentPaymentServiceImpl extends ServiceImpl<CourseS
|
|
|
|
|
|
@Override
|
|
|
public List<CourseScheduleStudentPayment> getByCourseId(Long courseId) {
|
|
|
- List<CourseScheduleEnum> courseScheduleEnumList = new ArrayList<>();
|
|
|
- courseScheduleEnumList.add(CourseScheduleEnum.PIANO_ROOM_CLASS);
|
|
|
- courseScheduleEnumList.add(CourseScheduleEnum.PRACTICE);
|
|
|
- courseScheduleEnumList.add(CourseScheduleEnum.VIP);
|
|
|
List<CourseScheduleStudentPayment> list = this.lambdaQuery()
|
|
|
.eq(CourseScheduleStudentPayment::getCourseId, courseId)
|
|
|
- .in(CourseScheduleStudentPayment::getCourseType,courseScheduleEnumList)
|
|
|
.isNotNull(CourseScheduleStudentPayment::getUserId)
|
|
|
.list();
|
|
|
if (CollectionUtils.isEmpty(list)) {
|