feat: 수강중 확인 기능 수정
This commit is contained in:
parent
cdf8dbc30e
commit
6c36715a25
@ -18,5 +18,5 @@ public interface RegistrationService {
|
||||
|
||||
List<RegistrationSearchResponse> searchRegistrations(Long LectureId);
|
||||
|
||||
RegistrationStatus isOnline(Long userId, Long lectureId);
|
||||
RegistrationStatus getStatus(Long userId, Long lectureId);
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ public class RegistrationServiceImpl implements RegistrationService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public RegistrationStatus isOnline(Long userId, Long lectureId) {
|
||||
public RegistrationStatus getStatus(Long userId, Long lectureId) {
|
||||
|
||||
Registration registration = registrationRepository.findByUserIdAndLectureId(userId, lectureId);
|
||||
return registration.getStatus();
|
||||
|
Loading…
Reference in New Issue
Block a user