PolygonData -> JsonNode 변환 예제 커밋

This commit is contained in:
2025-11-26 18:45:09 +09:00
parent 176c6e77dd
commit 1dbb3e1b50
6 changed files with 126 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
package com.kamco.cd.kamcoback.changedetection.service;
import com.fasterxml.jackson.databind.JsonNode;
import com.kamco.cd.kamcoback.changedetection.dto.ChangeDetectionDto;
import com.kamco.cd.kamcoback.postgres.core.ChangeDetectionCoreService;
import java.util.List;
@@ -12,7 +13,11 @@ public class ChangeDetectionService {
private final ChangeDetectionCoreService changeDetectionCoreService;
public List<ChangeDetectionDto> getPolygonToPoint() {
public List<ChangeDetectionDto.TestDto> getPolygonToPoint() {
return changeDetectionCoreService.getPolygonToPoint();
}
public List<JsonNode> getPolygonToJson(){
return changeDetectionCoreService.getPolygonToJson();
}
}