파일싱크 수정
This commit is contained in:
@@ -108,7 +108,7 @@ public class MapSheetMngFileCheckerApiController {
|
||||
@ApiResponse(responseCode = "500", description = "서버 오류", content = @Content)
|
||||
})
|
||||
@PostMapping("/sync-process")
|
||||
public ApiResponseDto<MapSheetMngDto.DmlReturn> uploadProcess(
|
||||
public ApiResponseDto<ImageryDto.SyncReturn> syncProcess(
|
||||
@RequestBody @Valid ImageryDto.searchReq searchReq) {
|
||||
return ApiResponseDto.ok(mapSheetMngFileCheckerService.syncProcess(searchReq));
|
||||
}
|
||||
|
||||
@@ -83,6 +83,18 @@ public class ImageryDto {
|
||||
private Long hstUid;
|
||||
}
|
||||
|
||||
@Schema(name = "SyncReturn", description = "영상파일싱크 수행 후 리턴")
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class SyncReturn {
|
||||
private String flag;
|
||||
private int syncCnt;
|
||||
private int tfwErrCnt;
|
||||
private int tifErrCnt;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -303,7 +303,7 @@ public class MapSheetMngFileCheckerService {
|
||||
}
|
||||
|
||||
|
||||
public MapSheetMngDto.DmlReturn syncProcess(ImageryDto.searchReq searchReq) {
|
||||
public ImageryDto.SyncReturn syncProcess(ImageryDto.searchReq searchReq) {
|
||||
return mapSheetMngFileCheckerCoreService.syncProcess(searchReq);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user