From 563d7b576851ada79571a1160afd995a3a7e8ca0 Mon Sep 17 00:00:00 2001 From: "gayoun.park" Date: Fri, 2 Jan 2026 18:18:15 +0900 Subject: [PATCH] spotless --- .../label/LabelAllocateApiController.java | 41 ++++++++++--------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/src/main/java/com/kamco/cd/kamcoback/label/LabelAllocateApiController.java b/src/main/java/com/kamco/cd/kamcoback/label/LabelAllocateApiController.java index 868cd29c..0a52baf2 100644 --- a/src/main/java/com/kamco/cd/kamcoback/label/LabelAllocateApiController.java +++ b/src/main/java/com/kamco/cd/kamcoback/label/LabelAllocateApiController.java @@ -33,19 +33,20 @@ public class LabelAllocateApiController { @Operation(summary = "배정 가능한 사용자 목록 조회", description = "배정 가능한 사용자 목록 조회") @ApiResponses( - value = { - @ApiResponse( - responseCode = "200", - description = "조회 성공", - content = - @Content( - mediaType = "application/json", - schema = @Schema(implementation = CommonCodeDto.Basic.class))), - @ApiResponse(responseCode = "404", description = "코드를 찾을 수 없음", content = @Content), - @ApiResponse(responseCode = "500", description = "서버 오류", content = @Content) - }) + value = { + @ApiResponse( + responseCode = "200", + description = "조회 성공", + content = + @Content( + mediaType = "application/json", + schema = @Schema(implementation = CommonCodeDto.Basic.class))), + @ApiResponse(responseCode = "404", description = "코드를 찾을 수 없음", content = @Content), + @ApiResponse(responseCode = "500", description = "서버 오류", content = @Content) + }) @GetMapping("/avail-user") - public ApiResponseDto> availUserList(@RequestParam @Schema() String role) { + public ApiResponseDto> availUserList( + @RequestParam @Schema() String role) { return ApiResponseDto.ok(labelAllocateService.availUserList(role)); } @@ -54,15 +55,15 @@ public class LabelAllocateApiController { public ApiResponseDto labelAllocate(@RequestBody LabelAllocateDto dto) { List targets = - List.of( - new TargetUser("1234567", 1000), - new TargetUser("2345678", 400), - new TargetUser("3456789", 440)); + List.of( + new TargetUser("1234567", 1000), + new TargetUser("2345678", 400), + new TargetUser("3456789", 440)); List inspectors = - List.of( - new TargetInspector("9876543", 1000), - new TargetInspector("8765432", 340), - new TargetInspector("98765432", 500)); + List.of( + new TargetInspector("9876543", 1000), + new TargetInspector("8765432", 340), + new TargetInspector("98765432", 500)); labelAllocateService.allocateAsc(targets, inspectors); return ApiResponseDto.ok(null);