liusuyi
2026-06-11 4fafee90e483bb10e092186a9b07b8cc356dbdb2
ard-sample/src/main/java/com/ard/sample/annotation/service/IAnnotationService.java
@@ -9,10 +9,14 @@
    boolean addAnnotation(AnnotationEntity entity);
    // 修改标记
    boolean editAnnotation(AnnotationEntity entity);
    // 修改标记可见性
    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);
}