서버상태 수정

This commit is contained in:
Moon
2026-01-16 15:54:25 +09:00
parent 1acadc4626
commit e573b983b3

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();