회차 Uid로 Uuid 조회 api 추가
This commit is contained in:
@@ -147,6 +147,15 @@ public class ChangeDetectionApiController {
|
||||
changeDetectionService.getChangeDetectionPointList(type, scale, uuid, mapSheetNum));
|
||||
}
|
||||
|
||||
@Operation(summary = "선택 변화탐지 결과 uuid 조회", description = "선택 변화탐지 결과 uuid 조회")
|
||||
@GetMapping("/selected/uuid")
|
||||
public ApiResponseDto<UUID> getChnDtctIdUuid(
|
||||
@Parameter(description = "회차 32자 uid", example = "98ABAA1FC4394F11885C302C19AE5E81")
|
||||
@RequestParam
|
||||
String chnDtctId) {
|
||||
return ApiResponseDto.ok(changeDetectionService.getLearnUuid(chnDtctId));
|
||||
}
|
||||
|
||||
@Operation(summary = "선택 변화탐지 결과 Polygon", description = "선택 변화탐지 결과 Polygon")
|
||||
@GetMapping("/selected/polygon")
|
||||
public ApiResponseDto<ChangeDetectionDto.PolygonFeatureList> getCdPolygonList(
|
||||
|
||||
@@ -117,4 +117,14 @@ public class ChangeDetectionService {
|
||||
String chnDtctId, String cdObjectId, List<String> cdObjectIds, String pnu) {
|
||||
return changeDetectionCoreService.getPointListByCd(chnDtctId, cdObjectId, cdObjectIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* Learn uuid 조회
|
||||
*
|
||||
* @param chnDtctId
|
||||
* @return uuid
|
||||
*/
|
||||
public UUID getLearnUuid(String chnDtctId) {
|
||||
return changeDetectionCoreService.getLearnUuid(chnDtctId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user