라벨 재할당 로직 수정, 배치로 재배치는 나중에
This commit is contained in:
@@ -191,12 +191,9 @@ public class LabelAllocateApiController {
|
||||
@RequestBody
|
||||
LabelAllocateDto.AllocateMoveDto dto) {
|
||||
|
||||
int compareYyyy = Integer.parseInt(dto.getYyyy().split("-")[0]);
|
||||
int targetYyyy = Integer.parseInt(dto.getYyyy().split("-")[1]);
|
||||
|
||||
return ApiResponseDto.okObject(
|
||||
labelAllocateService.allocateMove(
|
||||
dto.getStage(), dto.getLabelers(), compareYyyy, targetYyyy, dto.getUserId()));
|
||||
dto.getTotalCnt(), dto.getUuid(), dto.getLabelers(), dto.getUserId()));
|
||||
}
|
||||
|
||||
@Operation(
|
||||
@@ -232,7 +229,7 @@ public class LabelAllocateApiController {
|
||||
@ApiResponse(responseCode = "500", description = "서버 오류")
|
||||
})
|
||||
@GetMapping("/move-user")
|
||||
public ApiResponseDto<List<LabelAllocateDto.MoveUserList>> availMoveUserList(
|
||||
public ApiResponseDto<LabelAllocateDto.MoveInfo> availMoveUserList(
|
||||
@Parameter(description = "해당 사용자 사번", example = "01022223333") @RequestParam String userId,
|
||||
@Parameter(description = "회차 마스터 key", example = "f97dc186-e6d3-4645-9737-3173dde8dc64")
|
||||
@RequestParam
|
||||
|
||||
Reference in New Issue
Block a user