Skip to content

Commit 85a65af

Browse files
committed
feat: 구매/참가자 관리 목록 엑셀 다운로드 API 인터페이스 추가
1 parent 5744225 commit 85a65af

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

src/main/java/com/gotogether/domain/hostchannel/controller/HostChannelApi.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,4 +295,25 @@ ApiResponse<?> approveOrderStatus(
295295
@Parameter(description = "주문 상태 변경 요청 데이터", required = true)
296296
@RequestBody @Valid OrderStatusRequestDTO request
297297
);
298+
299+
@Operation(
300+
summary = "구매/참가자 관리 목록 엑셀 다운로드",
301+
description = "구매/참가자 관리 목록을 엑셀 형식으로 다운로드합니다."
302+
)
303+
@ApiResponses(value = {
304+
@io.swagger.v3.oas.annotations.responses.ApiResponse(
305+
responseCode = "200",
306+
description = "구매/참가자 관리 목록 엑셀 다운로드 성공",
307+
content = @Content(schema = @Schema(implementation = org.springframework.core.io.Resource.class))
308+
),
309+
@io.swagger.v3.oas.annotations.responses.ApiResponse(
310+
responseCode = "404",
311+
description = "EVENT4001: 이벤트가 없습니다."
312+
)
313+
})
314+
@GetMapping("/dashboard/participant-management/excel")
315+
org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> exportParticipantManagementExcel(
316+
@Parameter(description = "이벤트 ID", required = true)
317+
@RequestParam Long eventId
318+
);
298319
}

0 commit comments

Comments
 (0)