feat: add getTaskReview API endpoint for fetching all reports and fragments by task number

This commit is contained in:
2026-05-23 21:01:01 +08:00
parent 375ec8858c
commit f271efbead
5 changed files with 47 additions and 0 deletions
@@ -30,6 +30,11 @@ public class ReviewServiceImpl implements ReviewService {
return reviewMapper.selectReviewFeed(limit);
}
@Override
public List<ReviewFeedItem> getTaskReview(String taskNum) {
return reviewMapper.selectTaskReview(taskNum);
}
@Override
public StudyReportsEntity getReportDetail(int id) throws NotFindEntitiesException {
return Optional.ofNullable(studyReportsMapper.selectById(id))