Merge pull request 'feat/infer_dev_260107' (#256) from feat/infer_dev_260107 into develop

Reviewed-on: https://kamco.gitea.gs.dabeeo.com/dabeeo/kamco-dabeeo-backoffice/pulls/256
This commit is contained in:
2026-01-16 15:56:51 +09:00

View File

@@ -112,9 +112,9 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
BooleanBuilder builder = new BooleanBuilder();
List<Integer> latestIds =
List<OffsetDateTime> latestIds =
queryFactory
.select(systemMetricEntity.id1.max())
.select(systemMetricEntity.timestamp.max())
.from(systemMetricEntity)
.groupBy(systemMetricEntity.serverName)
.fetch();
@@ -147,7 +147,7 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
.timestamp
.in(latestGpuIds)
.and(gpuMetricEntity.serverName.eq(systemMetricEntity.serverName)))
.where(systemMetricEntity.id1.in(latestIds)) // In 절 사용
.where(systemMetricEntity.timestamp.in(latestIds)) // In 절 사용
.orderBy(systemMetricEntity.serverName.asc())
.limit(4)
.fetch();