Build error fix

This commit is contained in:
DanielLee
2025-12-12 18:57:38 +09:00
parent fcfed21782
commit 03ce680a7f

View File

@@ -75,8 +75,9 @@ public class MapSheetMngFileCheckerApiController {
@PostMapping(value = "/upload", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
public ApiResponseDto<String> uploadFile(
@RequestPart("file") MultipartFile file,
@RequestParam("targetPath") String targetPath) {
return ApiResponseDto.createOK(mapSheetMngFileCheckerService.uploadFile(file, targetPath));
@RequestParam("targetPath") String targetPath,
@RequestParam(value = "overwrite", required = false, defaultValue = "false") boolean overwrite) {
return ApiResponseDto.createOK(mapSheetMngFileCheckerService.uploadFile(file, targetPath, overwrite));
}
@Operation(summary = "파일 삭제", description = "중복 파일 등 파일 삭제")