OBP GwMetric 조회용 API 추가

This commit is contained in:
Rinjae
2025-12-16 17:19:39 +09:00
parent 6d53f24bcd
commit 7d4ce8c1c4
5 changed files with 164 additions and 1 deletions
@@ -43,6 +43,13 @@ public class ObpGwMetricService {
return repository.findByTimesliceBetween(startTime, endTime);
}
/**
* 특정 시간대 이후의 모든 GwMetric 데이터 조회
*/
public List<ObpGwMetric> findByTimesliceGreaterThanEqual(LocalDateTime timeslice) {
return repository.findByTimesliceGreaterThanEqual(timeslice);
}
/**
* 엔티티 저장 (INSERT 또는 UPDATE)
*/