This commit is contained in:
2026-06-04 12:47:12 +09:00
parent 5f4640ea60
commit 0447dd80ed

View File

@@ -274,14 +274,14 @@ public class ModelMngRepositoryImpl implements ModelMngRepositoryCustom {
.select( .select(
Projections.constructor( Projections.constructor(
ModelTrainMngDto.ProgressPercent.class, ModelTrainMngDto.ProgressPercent.class,
modelTrainJobEntity.id, modelTrainJobEntity.modelId,
modelTrainJobEntity.jobType, modelTrainJobEntity.jobType,
modelTrainJobEntity.statusCd, modelTrainJobEntity.statusCd,
totalEpoch.as("totalEpoch"), totalEpoch.as("totalEpoch"),
currentEpoch.as("currentEpoch"), currentEpoch.as("currentEpoch"),
per.as("per"))) per.as("per")))
.from(modelTrainJobEntity) .from(modelTrainJobEntity)
.where(modelTrainJobEntity.id.eq(id)) .where(modelTrainJobEntity.modelId.eq(id))
.orderBy(modelTrainJobEntity.attemptNo.desc()) .orderBy(modelTrainJobEntity.attemptNo.desc())
.fetchFirst(); .fetchFirst();
} }