추론수정
This commit is contained in:
@@ -172,6 +172,7 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
|
|||||||
mapSheetLearnEntity.inferEndDttm,
|
mapSheetLearnEntity.inferEndDttm,
|
||||||
mapSheetLearnEntity.detectingCnt,
|
mapSheetLearnEntity.detectingCnt,
|
||||||
mapSheetLearnEntity.detectEndCnt,
|
mapSheetLearnEntity.detectEndCnt,
|
||||||
|
|
||||||
m1Model.modelVer.as("model1Ver"),
|
m1Model.modelVer.as("model1Ver"),
|
||||||
m2Model.modelVer.as("model2Ver"),
|
m2Model.modelVer.as("model2Ver"),
|
||||||
m3Model.modelVer.as("model3Ver")))
|
m3Model.modelVer.as("model3Ver")))
|
||||||
@@ -189,32 +190,35 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Optional<InferenceProgressDto> getInferenceAiResultById(Long id) {
|
public InferenceProgressDto getInferenceAiResultById(Long id, UUID modelUuid) {
|
||||||
// InferenceProgressDto dto =
|
|
||||||
// queryFactory
|
QModelMngEntity model = new QModelMngEntity("model");
|
||||||
// .select(
|
|
||||||
// Projections.constructor(
|
InferenceProgressDto dto =
|
||||||
// InferenceProgressDto.class,
|
queryFactory
|
||||||
// Projections.constructor(
|
.select(
|
||||||
// InferenceProgressDto.pred_requests_areas.class,
|
Projections.constructor(
|
||||||
// mapSheetLearnEntity.compareYyyy,
|
InferenceProgressDto.class,
|
||||||
// mapSheetLearnEntity.targetYyyy,
|
Projections.constructor(
|
||||||
// mapSheetLearnEntity.modelComparePath,
|
InferenceProgressDto.pred_requests_areas.class,
|
||||||
// mapSheetLearnEntity.modelTargetPath
|
mapSheetLearnEntity.compareYyyy,
|
||||||
// ),
|
mapSheetLearnEntity.targetYyyy,
|
||||||
// modelMngEntity.uuid.eq(mapSheetLearnEntity.m1ModelUuid).as("m1ModelUuid"),
|
mapSheetLearnEntity.modelComparePath,
|
||||||
// modelMngEntity.uuid.eq(mapSheetLearnEntity.m2ModelUuid).as("m2ModelUuid"),
|
mapSheetLearnEntity.modelTargetPath),
|
||||||
// mapSheetLearnEntity.cdModelPath,
|
model.modelVer.as("modelVer"),
|
||||||
// mapSheetLearnEntity.cdModelConfig,
|
model.cdModelPath.as("cdModelPath"),
|
||||||
// mapSheetLearnEntity.clsModelPath,
|
model.cdModelFileName.as("cdModelFileName"),
|
||||||
// mapSheetLearnEntity.clsModelVersion,
|
model.cdModelConfigPath.as("cdModelConfigPath"),
|
||||||
// mapSheetLearnEntity.cdModelType,
|
model.cdModelConfigFileName.as("cdModelConfigFileName"),
|
||||||
// mapSheetLearnEntity.priority
|
model.clsModelPath,
|
||||||
// )
|
model.clsModelFileName,
|
||||||
// )
|
model.clsModelVersion
|
||||||
// .from(mapSheetLearnEntity)
|
))
|
||||||
// .where(mapSheetLearnEntity.id.eq(id))
|
.from(mapSheetLearnEntity)
|
||||||
// .fetchOne();
|
.join(model)
|
||||||
return Optional.empty();
|
.on(model.uuid.eq(modelUuid))
|
||||||
|
.where(mapSheetLearnEntity.id.eq(id))
|
||||||
|
.fetchOne();
|
||||||
|
return dto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user