zhaowenyu
2026-04-01 0a0174e3b784f7f9f7c3abfb419c23ee26709d0f
ard-sample/src/main/java/com/ard/sample/annotation/service/IAnnotationService.java
@@ -10,11 +10,13 @@
    // 修改标记
    boolean editAnnotation(AnnotationEntity entity);
    // 修改标记可见性
    boolean updateAnnotationVisible(String id, Integer isTrue);
    boolean updateAnnotationVisible(String id, Boolean isTrue);
    // 删除标记
    boolean deleteAnnotation(Integer id);
    boolean deleteAnnotation(String id);
    // 批量删除标记
    boolean batchDeleteAnnotation(List<Integer> ids);
    boolean batchDeleteAnnotation(List<String> ids);
    // 按目录ID查询标记
    List<AnnotationEntity> listByDirectoryId(Integer directoryId);
    List<AnnotationEntity> listByDirectoryId(String directoryId);
    // 新增:按标注ID获取详细信息(核心补充方法)
    AnnotationEntity getAnnotationById(String id);
}