From 8a0324c48149927156bb5377a588d77496f304fb Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 02 十二月 2024 21:48:19 +0800 Subject: [PATCH] 学生端查看试卷,试卷不存在提醒 --- src/main/java/com/mindskip/xzs/repository/SubjectMapper.java | 17 +++++++++++++++++ 1 files changed, 17 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 f9909a7..4b195e4 100644 --- a/src/main/java/com/mindskip/xzs/repository/SubjectMapper.java +++ b/src/main/java/com/mindskip/xzs/repository/SubjectMapper.java @@ -33,4 +33,21 @@ * @return */ List<Subject> listByDeptId(@Param("deptId") Integer deptId); + + /** + * 鍚嶇О鎼滅储 + * + * @param name + * @return + */ + Subject selectByName(@Param("id") Integer id, @Param("name") String name); + + + /** + * 鍚嶇О鏌ヨ鏄惁瀛樺湪 + * + * @param name + * @return + */ + Subject getByName(@Param("name") String name); } -- Gitblit v1.8.0