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) {