레이어관리 삭제 수정

This commit is contained in:
2026-02-02 10:27:57 +09:00
parent d8d35c3462
commit 20a835cf45

View File

@@ -67,10 +67,6 @@ public class MapLayerCoreService {
.findDetailByUuid(uuid) .findDetailByUuid(uuid)
.orElseThrow(() -> new CustomApiException("NOT_FOUND_DATA", HttpStatus.NOT_FOUND)); .orElseThrow(() -> new CustomApiException("NOT_FOUND_DATA", HttpStatus.NOT_FOUND));
if (LayerType.TILE.getId().equals(entity.getLayerType())) {
throw new CustomApiException("UNPROCESSABLE_ENTITY", HttpStatus.CONFLICT);
}
entity.setIsDeleted(true); entity.setIsDeleted(true);
entity.setUpdatedUid(userUtil.getId()); entity.setUpdatedUid(userUtil.getId());
entity.setUpdatedDttm(ZonedDateTime.now()); entity.setUpdatedDttm(ZonedDateTime.now());