[KC-108] 추론실행 파라미터 변경

This commit is contained in:
2026-01-12 23:11:51 +09:00
parent d8e71e0b7e
commit b0678beefe

View File

@@ -169,7 +169,7 @@ public class InferenceResultDto {
@NotNull @NotNull
private Integer targetYyyy; private Integer targetYyyy;
@Schema(description = "분석대상 도엽 - 전체(ALL), 부분(PART)", example = "ALL") @Schema(description = "분석대상 도엽 - 전체(ALL), 부분(PART)", example = "PART")
@NotBlank @NotBlank
@EnumValid(enumClass = MapSheetScope.class, message = "분석대상 도엽 옵션은 '전체', '부분' 만 사용 가능합니다.") @EnumValid(enumClass = MapSheetScope.class, message = "분석대상 도엽 옵션은 '전체', '부분' 만 사용 가능합니다.")
private String mapSheetScope; private String mapSheetScope;
@@ -261,7 +261,9 @@ public class InferenceResultDto {
this.model2Ver = model2Ver; this.model2Ver = model2Ver;
this.model3Ver = model3Ver; this.model3Ver = model3Ver;
if (this.detectingEndCnt == null) this.detectingEndCnt = 0L; if (this.detectingEndCnt == null) {
this.detectingEndCnt = 0L;
}
} }
private String usedServerName; private String usedServerName;
@@ -273,12 +275,16 @@ public class InferenceResultDto {
private String model3VerStatusName = "진행중"; private String model3VerStatusName = "진행중";
public String getDetectOptionName() { public String getDetectOptionName() {
if (this.detectOption.equals("EXCL")) return "추론제외"; if (this.detectOption.equals("EXCL")) {
return "추론제외";
}
return "이전 년도 도엽 사용"; return "이전 년도 도엽 사용";
} }
public String getMapSheetScopeName() { public String getMapSheetScopeName() {
if (this.mapSheetScope.equals("ALL")) return "전체"; if (this.mapSheetScope.equals("ALL")) {
return "전체";
}
return "부분"; return "부분";
} }
@@ -287,7 +293,9 @@ public class InferenceResultDto {
return 0.0; 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; return (double) (this.detectingEndCnt / this.detectingCnt) * 100.0;
} }