[KC-108] ai api 실행

This commit is contained in:
2026-01-12 18:48:59 +09:00
parent ad0c3bc080
commit 546981076c
3 changed files with 25 additions and 17 deletions

View File

@@ -110,9 +110,12 @@ public class ModelMngRepositoryImpl extends QuerydslRepositorySupport
queryFactory
.select(modelMngEntity.modelUid.count())
.from(modelMngEntity)
.innerJoin(modelResultMetricEntity)
.on(modelMngEntity.modelUid.eq(modelResultMetricEntity.modelUid))
.where(
eventEndedAtBetween(startDate, endDate, property),
searchModelVersion(modelType, searchVal))
searchModelVersion(modelType, searchVal),
modelMngEntity.deleted.isFalse().or(modelMngEntity.deleted.isNull()))
.fetchOne();
return new PageImpl<>(foundContent, pageable, countQuery);