From 26422a99ed7e19579ca11f008c180addc21f5153 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 08 五月 2024 17:46:34 +0800 Subject: [PATCH] fix:禁用的人不能被查出来考试、题目去重 --- src/main/java/com/mindskip/xzs/repository/SubjectMapper.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/repository/SubjectMapper.java b/src/main/java/com/mindskip/xzs/repository/SubjectMapper.java index f98e7a8..7bb884e 100644 --- a/src/main/java/com/mindskip/xzs/repository/SubjectMapper.java +++ b/src/main/java/com/mindskip/xzs/repository/SubjectMapper.java @@ -3,6 +3,7 @@ import com.mindskip.xzs.domain.Subject; import com.mindskip.xzs.viewmodel.admin.education.SubjectPageRequestVM; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import java.util.List; @@ -14,4 +15,10 @@ List<Subject> allSubject(); List<Subject> page(SubjectPageRequestVM requestVM); + + Subject getName(String name); + + List<Subject> getNames(@Param("names") String[] names); + + List<Subject> selectByIds(@Param("ids") Integer[] ids); } -- Gitblit v1.8.0