수정
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user