From f1eefdbe63b64afab32502785e9c46ffd35fc718 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Tue, 10 Mar 2026 11:25:21 +0800
Subject: [PATCH] 1. 相关航线实体类增加序列化版本号。

---
 ard-admin/src/main/java/com/ard/web/controller/sample/AnnotationController.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ard-admin/src/main/java/com/ard/web/controller/sample/AnnotationController.java b/ard-admin/src/main/java/com/ard/web/controller/sample/AnnotationController.java
index c80bf7a..196d6c5 100644
--- a/ard-admin/src/main/java/com/ard/web/controller/sample/AnnotationController.java
+++ b/ard-admin/src/main/java/com/ard/web/controller/sample/AnnotationController.java
@@ -67,7 +67,7 @@
     // 新增:修改目录显示状态
     @ApiOperation("修改目录是否可见")
     @PutMapping("/dirvisible/{id}/{isTrue}")
-    public ResponseEntity<Map<String, Object>> updateDirectoryVisible(@PathVariable String id, @PathVariable Integer isTrue) {
+    public ResponseEntity<Map<String, Object>> updateDirectoryVisible(@PathVariable String id, @PathVariable Boolean isTrue) {
         Map<String, Object> result = new HashMap<>();
         try{
             boolean success = directoryService.updateDirectoryVisible(id, isTrue);
@@ -84,7 +84,7 @@
 
     @ApiOperation("删除目录及子项")
     @DeleteMapping("/directory/{id}")
-    public ResponseEntity<Map<String, Object>> deleteDirectory(@PathVariable Integer id) {
+    public ResponseEntity<Map<String, Object>> deleteDirectory(@PathVariable String id) {
         Map<String, Object> result = new HashMap<>();
         try {
             boolean success = directoryService.deleteDirectory(id);
@@ -138,7 +138,7 @@
     // 新增:修改标注显示状态
     @ApiOperation("修改标记是否可见")
     @PutMapping("/annvisible/{id}/{isTrue}")
-    public ResponseEntity<Map<String, Object>> updateAnnotationVisible(@PathVariable String id, @PathVariable Integer isTrue) {
+    public ResponseEntity<Map<String, Object>> updateAnnotationVisible(@PathVariable String id, @PathVariable Boolean isTrue) {
         Map<String, Object> result = new HashMap<>();
         try{
             boolean success = annotationService.updateAnnotationVisible(id, isTrue);
@@ -156,7 +156,7 @@
 
     @ApiOperation("删除标记")
     @DeleteMapping("/{id}")
-    public ResponseEntity<Map<String, Object>> deleteAnnotation(@PathVariable Integer id) {
+    public ResponseEntity<Map<String, Object>> deleteAnnotation(@PathVariable String id) {
         Map<String, Object> result = new HashMap<>();
         try {
             boolean success = annotationService.deleteAnnotation(id);
@@ -172,7 +172,7 @@
 
     @ApiOperation("批量删除标记")
     @DeleteMapping("/batch")
-    public ResponseEntity<Map<String, Object>> batchDeleteAnnotation(@RequestBody List<Integer> ids) {
+    public ResponseEntity<Map<String, Object>> batchDeleteAnnotation(@RequestBody List<String> ids) {
         Map<String, Object> result = new HashMap<>();
         try {
             boolean success = annotationService.batchDeleteAnnotation(ids);
@@ -189,7 +189,7 @@
     // 层级查询:目录→标记→坐标
     @ApiOperation("按目标id获取所有目录及子标记信息")
     @GetMapping("/directory/{directoryId}")
-    public ResponseEntity<Map<String, Object>> getDirectoryWithAnnotations(@PathVariable Integer directoryId) {
+    public ResponseEntity<Map<String, Object>> getDirectoryWithAnnotations(@PathVariable String directoryId) {
         Map<String, Object> result = new HashMap<>();
         try {
             // 1. 查询目录

--
Gitblit v1.9.3