| | |
| | | } |
| | | |
| | | @Override |
| | | public boolean deleteAnnotation(Integer id) { |
| | | public boolean deleteAnnotation(String id) { |
| | | if (id == null) { |
| | | log.error("删除标记失败:ID为空"); |
| | | return false; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public boolean batchDeleteAnnotation(List<Integer> ids) { |
| | | public boolean batchDeleteAnnotation(List<String> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | log.error("批量删除标记失败:ID列表为空"); |
| | | return false; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<AnnotationEntity> listByDirectoryId(Integer directoryId) { |
| | | public List<AnnotationEntity> listByDirectoryId(String directoryId) { |
| | | if (directoryId == null) { |
| | | log.error("按目录查询标记失败:目录ID为空"); |
| | | return List.of(); |