모델학습 2단계 패키징 시작,종료일시,상태 로직 추가

This commit is contained in:
2026-02-19 14:43:14 +09:00
parent 5e13c0b396
commit 5ddf6dfeeb
7 changed files with 80 additions and 4 deletions

View File

@@ -43,6 +43,10 @@ public class ModelTrainMngDto {
private Long currentAttemptId;
private String requestPath;
private String packingState;
private ZonedDateTime packingStrtDttm;
private ZonedDateTime packingEndDttm;
public String getStatusName() {
if (this.statusCd == null || this.statusCd.isBlank()) return null;
try {
@@ -100,6 +104,10 @@ public class ModelTrainMngDto {
public String getStep2Duration() {
return formatDuration(this.step2StrtDttm, this.step2EndDttm);
}
public String getPackingDuration() {
return formatDuration(this.packingStrtDttm, this.packingEndDttm);
}
}
@Schema(name = "searchReq", description = "모델학습 관리 목록조회 파라미터")