From 1f16aa96a1f88be11f33efcb2862218be4342e44 Mon Sep 17 00:00:00 2001 From: qirong <2032486488@qq.com> Date: 星期五, 16 六月 2023 09:16:13 +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