feat: add redis

This commit is contained in:
2025-12-02 14:59:01 +09:00
parent 79e645e51f
commit 8e1586af43
3 changed files with 23 additions and 9 deletions

View File

@@ -5,7 +5,6 @@ import com.kamco.cd.kamcoback.changedetection.dto.ChangeDetectionDto;
import com.kamco.cd.kamcoback.postgres.core.ChangeDetectionCoreService;
import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
@Service
@@ -35,7 +34,6 @@ public class ChangeDetectionService {
return changeDetectionCoreService.getChangeDetectionYearList();
}
@Cacheable(value = "changeDetectionPolygon", key = "#analUid + '_' + #mapSheetNum")
public ChangeDetectionDto.PolygonFeatureList getChangeDetectionPolygonList(
Long analUid, String mapSheetNum) {