diff --git a/src/main/java/com/kamco/cd/kamcoback/inference/dto/InferenceResultDto.java b/src/main/java/com/kamco/cd/kamcoback/inference/dto/InferenceResultDto.java index 572047d8..82af4603 100644 --- a/src/main/java/com/kamco/cd/kamcoback/inference/dto/InferenceResultDto.java +++ b/src/main/java/com/kamco/cd/kamcoback/inference/dto/InferenceResultDto.java @@ -169,7 +169,7 @@ public class InferenceResultDto { @NotNull private Integer targetYyyy; - @Schema(description = "분석대상 도엽 - 전체(ALL), 부분(PART)", example = "ALL") + @Schema(description = "분석대상 도엽 - 전체(ALL), 부분(PART)", example = "PART") @NotBlank @EnumValid(enumClass = MapSheetScope.class, message = "분석대상 도엽 옵션은 '전체', '부분' 만 사용 가능합니다.") private String mapSheetScope; @@ -261,7 +261,9 @@ public class InferenceResultDto { this.model2Ver = model2Ver; this.model3Ver = model3Ver; - if (this.detectingEndCnt == null) this.detectingEndCnt = 0L; + if (this.detectingEndCnt == null) { + this.detectingEndCnt = 0L; + } } private String usedServerName; @@ -273,12 +275,16 @@ public class InferenceResultDto { private String model3VerStatusName = "진행중"; public String getDetectOptionName() { - if (this.detectOption.equals("EXCL")) return "추론제외"; + if (this.detectOption.equals("EXCL")) { + return "추론제외"; + } return "이전 년도 도엽 사용"; } public String getMapSheetScopeName() { - if (this.mapSheetScope.equals("ALL")) return "전체"; + if (this.mapSheetScope.equals("ALL")) { + return "전체"; + } return "부분"; } @@ -287,7 +293,9 @@ public class InferenceResultDto { return 0.0; } - if (this.detectingEndCnt == null) this.detectingEndCnt = 0L; + if (this.detectingEndCnt == null) { + this.detectingEndCnt = 0L; + } return (double) (this.detectingEndCnt / this.detectingCnt) * 100.0; }