| | |
| | | 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); |
| | | } |