From 28ab28fbca6a4253bfc1f0b213576bf43e42c407 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Mon, 09 Mar 2026 11:23:23 +0800
Subject: [PATCH] 1. 增加根据点云ID查询航线名称接口。 2. 优化查询精细化巡检分组细节,增加查询条件。
---
ard-sample/src/main/java/com/ard/sample/annotation/service/impl/AnnotationServiceImpl.java | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/ard-sample/src/main/java/com/ard/sample/annotation/service/impl/AnnotationServiceImpl.java b/ard-sample/src/main/java/com/ard/sample/annotation/service/impl/AnnotationServiceImpl.java
index bf09f45..5c1151f 100644
--- a/ard-sample/src/main/java/com/ard/sample/annotation/service/impl/AnnotationServiceImpl.java
+++ b/ard-sample/src/main/java/com/ard/sample/annotation/service/impl/AnnotationServiceImpl.java
@@ -31,6 +31,21 @@
return updateById(entity);
}
+ /**
+ * 新增:修改标注显示状态
+ */
+ @Override
+ public boolean updateAnnotationVisible(String id, Integer isTrue) {
+ if (id == null || id.isEmpty() || isTrue == null || (isTrue != 0 && isTrue != 1)) {
+ log.error("修改标注显示状态失败:参数非法,id={}, isTrue={}", id, isTrue);
+ return false;
+ }
+ AnnotationEntity entity = new AnnotationEntity();
+ entity.setId(id);
+ entity.setIsTrue(isTrue);
+ return updateById(entity);
+ }
+
@Override
public boolean deleteAnnotation(Integer id) {
if (id == null) {
--
Gitblit v1.9.3