feat: 오류수정
This commit is contained in:
parent
693e69c7d1
commit
3cc05cb961
@ -18,5 +18,5 @@ public interface RegistrationService {
|
|||||||
|
|
||||||
List<RegistrationSearchResponse> searchRegistrations(Long LectureId);
|
List<RegistrationSearchResponse> searchRegistrations(Long LectureId);
|
||||||
|
|
||||||
RegistrationStatus getStatus(Long userId, Long lectureId);
|
//RegistrationStatus getStatus(Long userId, Long lectureId);
|
||||||
}
|
}
|
||||||
|
@ -87,11 +87,11 @@ public class RegistrationServiceImpl implements RegistrationService {
|
|||||||
return responses;
|
return responses;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
// @Override
|
||||||
public RegistrationStatus getStatus(Long userId, Long lectureId) {
|
// public RegistrationStatus getStatus(Long userId, Long lectureId) {
|
||||||
|
//
|
||||||
Registration registration = registrationRepository.findByUserIdAndLectureId(userId, lectureId);
|
// Registration registration = registrationRepository.findByUserIdAndLectureId(userId, lectureId);
|
||||||
return registration.getStatus();
|
// return registration.getStatus();
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user