api_yearlist_for_bug_image_reg

This commit is contained in:
2025-12-22 19:32:19 +09:00
parent f4c1145880
commit acd0a783b5

View File

@@ -14,7 +14,7 @@ import java.time.Year;
import java.util.List; import java.util.List;
import java.util.Optional; import java.util.Optional;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@@ -39,7 +39,7 @@ public class MapSheetMngApiV2Controller {
@ApiResponse(responseCode = "404", description = "코드를 찾을 수 없음", content = @Content), @ApiResponse(responseCode = "404", description = "코드를 찾을 수 없음", content = @Content),
@ApiResponse(responseCode = "500", description = "서버 오류", content = @Content) @ApiResponse(responseCode = "500", description = "서버 오류", content = @Content)
}) })
@PostMapping("/mng-year-list") @GetMapping("/mng-year-list")
public ApiResponseDto<MapSheetMngDto.ResisterYearList> findMapSheetMngYyyyList() { public ApiResponseDto<MapSheetMngDto.ResisterYearList> findMapSheetMngYyyyList() {
List<Integer> years = mapSheetMngService.findMapSheetMngYyyyList(); List<Integer> years = mapSheetMngService.findMapSheetMngYyyyList();