From 9260a9b6ccdf33975be2615a0d13e6faa7277879 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 15 三月 2024 11:01:39 +0800 Subject: [PATCH] 试卷不返回答案,空指针修复 --- src/main/java/com/mindskip/xzs/repository/TaskExamMapper.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/repository/TaskExamMapper.java b/src/main/java/com/mindskip/xzs/repository/TaskExamMapper.java index 2907cc5..85967db 100644 --- a/src/main/java/com/mindskip/xzs/repository/TaskExamMapper.java +++ b/src/main/java/com/mindskip/xzs/repository/TaskExamMapper.java @@ -3,6 +3,8 @@ import com.mindskip.xzs.domain.TaskExam; import com.mindskip.xzs.viewmodel.admin.task.TaskPageRequestVM; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; +import org.springframework.security.core.parameters.P; import java.util.List; @@ -12,4 +14,6 @@ List<TaskExam> page(TaskPageRequestVM requestVM); List<TaskExam> getByGradeLevel(Integer gradeLevel); + + List<TaskExam> gets(@Param("ids") Integer[] ids); } -- Gitblit v1.8.0