Skip to content

Commit

Permalink
[Feat] :: non check user list query service add
Browse files Browse the repository at this point in the history
  • Loading branch information
lgwk42 committed May 22, 2024
1 parent e900db2 commit 792beea
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,18 @@ public ResponseEntity<CheckCodeResponse> generateCheckCode() throws ExecutionExc
return ResponseEntity.status(HttpStatus.CREATED).body(codes);
}

@GetMapping("/list")
@Operation(summary = "출석 명단", description = "출석 명단을 표시합니다")
public ResponseEntity<List<Check>> findCheck(@ModelAttribute PageRequest pageRequest) {
@GetMapping("/check")
@Operation(summary = "출석 명단", description = "출석 학생 명단을 표시합니다")
public ResponseEntity<List<Check>> findCheckUser(@ModelAttribute PageRequest pageRequest) {
return ResponseEntity.status(HttpStatus.OK).body(checkQueryService.findCheck(pageRequest));
}

@GetMapping("/non-check")
@Operation(summary = "미출석 명단", description = "미출석 학생 명단을 표시합니다")
public ResponseEntity<List<String>> findNonCheckUser(@ModelAttribute PageRequest pageRequest) {
return ResponseEntity.status(HttpStatus.OK).body(checkQueryService.findAllNonCheckUser(pageRequest));
}

@GetMapping("")
@Operation(summary = "출석 확인", description = "출석 상태를 확인합니다")
public ResponseEntity<Check> attendanceCheck(){
Expand Down

0 comments on commit 792beea

Please sign in to comment.