refactor: 移除 ReviewMapper 自定义 SQL,改用 MyBatis-Plus Java API

This commit is contained in:
2026-05-27 21:23:36 +08:00
parent a932bf52ca
commit f797a712db
2 changed files with 0 additions and 79 deletions
@@ -1,24 +0,0 @@
package com.guo.learningprogresstracker.mapper;
import com.guo.learningprogresstracker.dto.ReviewFeedItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 复习模块自定义查询 Mapper
*/
@Mapper
public interface ReviewMapper {
/**
* 获取最近的学习报告和残片,合并排序后返回
*/
List<ReviewFeedItem> selectReviewFeed(@Param("limit") int limit);
/**
* 获取指定任务下的所有报告和残片,按时间倒序
*/
List<ReviewFeedItem> selectTaskReview(@Param("taskNum") String taskNum);
}