From e3fc8c41f194818e9881f25944180a492500ee3a Mon Sep 17 00:00:00 2001 From: baizonghao <1719256278@qq.com> Date: 星期五, 16 六月 2023 15:33:56 +0800 Subject: [PATCH] 视频教学 --- src/main/java/com/mindskip/xzs/repository/SubjectMapper.java | 5 +++++ 1 files changed, 5 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..2ea18d2 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,8 @@ List<Subject> allSubject(); List<Subject> page(SubjectPageRequestVM requestVM); + + Subject getName(String name); + + List<Subject> getNames(@Param("names") String[] names); } -- Gitblit v1.8.0