[KC-108] 모델 조회 수정 id->uuid 변경

This commit is contained in:
2026-01-12 09:43:12 +09:00
parent 05938f301c
commit 7d430f22ee
2 changed files with 52 additions and 38 deletions

View File

@@ -19,7 +19,9 @@ import org.springframework.data.domain.Pageable;
public class InferenceResultDto { public class InferenceResultDto {
/** 목록조회 dto */ /**
* 목록조회 dto
*/
@Getter @Getter
@Setter @Setter
@AllArgsConstructor @AllArgsConstructor
@@ -31,14 +33,20 @@ public class InferenceResultDto {
private String status; private String status;
private String mapSheetCnt; private String mapSheetCnt;
private Long detectingCnt; private Long detectingCnt;
@JsonFormatDttm private ZonedDateTime startTime; @JsonFormatDttm
@JsonFormatDttm private ZonedDateTime endTime; private ZonedDateTime startTime;
@JsonFormatDttm private ZonedDateTime elapsedTime; @JsonFormatDttm
private ZonedDateTime endTime;
@JsonFormatDttm
private ZonedDateTime elapsedTime;
private Boolean applyYn; private Boolean applyYn;
@JsonFormatDttm private ZonedDateTime applyDttm; @JsonFormatDttm
private ZonedDateTime applyDttm;
} }
/** 목록조회 검색 조건 dto */ /**
* 목록조회 검색 조건 dto
*/
@Getter @Getter
@Setter @Setter
@NoArgsConstructor @NoArgsConstructor
@@ -60,7 +68,9 @@ public class InferenceResultDto {
} }
} }
/** 탐지 데이터 옵션 dto */ /**
* 탐지 데이터 옵션 dto
*/
@Getter @Getter
@AllArgsConstructor @AllArgsConstructor
public enum MapSheetScope implements EnumType { public enum MapSheetScope implements EnumType {
@@ -81,7 +91,9 @@ public class InferenceResultDto {
} }
} }
/** 분석대상 도엽 enum */ /**
* 분석대상 도엽 enum
*/
@Getter @Getter
@AllArgsConstructor @AllArgsConstructor
public enum DetectOption implements EnumType { public enum DetectOption implements EnumType {
@@ -101,7 +113,9 @@ public class InferenceResultDto {
} }
} }
/** 변화탐지 실행 정보 저장 요청 정보 */ /**
* 변화탐지 실행 정보 저장 요청 정보
*/
@Getter @Getter
@Setter @Setter
@NoArgsConstructor @NoArgsConstructor
@@ -112,17 +126,17 @@ public class InferenceResultDto {
@NotBlank @NotBlank
private String title; private String title;
@Schema(description = "M1", example = "2") @Schema(description = "M1", example = "785a845b-1b16-46c5-bf12-6c3258523c2a")
@NotNull @NotNull
private Long model1Uuid; private UUID model1Uuid;
@Schema(description = "M2", example = "4") @Schema(description = "M2", example = "4ca57bab-5c68-419e-83bf-7fae0b254b47")
@NotNull @NotNull
private Long model2Uuid; private UUID model2Uuid;
@Schema(description = "M3", example = "7") @Schema(description = "M3", example = "6b0ce3af-0070-463b-8b7b-4d5e837a472e")
@NotNull @NotNull
private Long model3Uuid; private UUID model3Uuid;
@Schema(description = "비교년도", example = "2023") @Schema(description = "비교년도", example = "2023")
@NotNull @NotNull

View File

@@ -44,14 +44,14 @@ public class MapSheetLearnEntity {
@Column(name = "status", length = 10) @Column(name = "status", length = 10)
private String status; private String status;
@Column(name = "m1_model_uid") @Column(name = "m1_model_uuid")
private Long m1ModelUid; private UUID m1ModelUuid;
@Column(name = "m2_model_uid") @Column(name = "m2_model_uuid")
private Long m2ModelUid; private UUID m2ModelUuid;
@Column(name = "m3_model_uid") @Column(name = "m3_model_uuid")
private Long m3ModelUid; private UUID m3ModelUuid;
@Column(name = "compare_yyyy") @Column(name = "compare_yyyy")
private Integer compareYyyy; private Integer compareYyyy;