수정
This commit is contained in:
@@ -274,14 +274,14 @@ public class ModelMngRepositoryImpl implements ModelMngRepositoryCustom {
|
||||
.select(
|
||||
Projections.constructor(
|
||||
ModelTrainMngDto.ProgressPercent.class,
|
||||
modelTrainJobEntity.id,
|
||||
modelTrainJobEntity.modelId,
|
||||
modelTrainJobEntity.jobType,
|
||||
modelTrainJobEntity.statusCd,
|
||||
totalEpoch.as("totalEpoch"),
|
||||
currentEpoch.as("currentEpoch"),
|
||||
per.as("per")))
|
||||
.from(modelTrainJobEntity)
|
||||
.where(modelTrainJobEntity.id.eq(id))
|
||||
.where(modelTrainJobEntity.modelId.eq(id))
|
||||
.orderBy(modelTrainJobEntity.attemptNo.desc())
|
||||
.fetchFirst();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user