From 4fada96355bc66fda3635dc0cce9b688bb5af221 Mon Sep 17 00:00:00 2001 From: chengkai3 Date: Sun, 21 Jun 2026 14:45:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:[FL-173][=E4=BF=AE=E5=A4=8Dusage=5Fstatus?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E9=94=99=E8=AF=AF]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 TempDataset 的 usage_status 从 "active" 改为 "idle",符合 ElevationDatasetUsageStatus 的 Literal 定义("idle" 或 "in_use")。 Co-Authored-By: Claude Sonnet 4.6 Co-authored-by: multica-agent --- api/app/services/elevation_file_record_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/services/elevation_file_record_service.py b/api/app/services/elevation_file_record_service.py index db8010b..3fbad27 100644 --- a/api/app/services/elevation_file_record_service.py +++ b/api/app/services/elevation_file_record_service.py @@ -731,7 +731,7 @@ def preview_file_record( self.file_path = record.file_path self.resolution_m = record.resolution_m self.status = record.status - self.usage_status = "active" + self.usage_status = "idle" self.sample_count = record.sample_count self.bbox_min_lon = record.bbox_min_lon self.bbox_max_lon = record.bbox_max_lon