From 5e49ed67e8980d649201aab001511aec4f03bfeb Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 29 十月 2024 17:19:43 +0800 Subject: [PATCH] 演示 --- src/main/java/com/ycl/jxkg/mapper/ClassesUserMapper.java | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/mapper/ClassesUserMapper.java b/src/main/java/com/ycl/jxkg/mapper/ClassesUserMapper.java index 9922c55..5e77e13 100644 --- a/src/main/java/com/ycl/jxkg/mapper/ClassesUserMapper.java +++ b/src/main/java/com/ycl/jxkg/mapper/ClassesUserMapper.java @@ -10,6 +10,7 @@ import java.util.List; import com.ycl.jxkg.domain.vo.StudentExamInfoVO; +import com.ycl.jxkg.domain.vo.StudentVO; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @@ -41,4 +42,28 @@ * @return */ List<StudentExamInfoVO> getClassesUserList(@Param("classesId") Integer classesId); + + /** + * 鏍规嵁瀛︾敓鑾峰彇鐝骇 + * + * @param userId + * @return + */ + List<Integer> getClassesByUserId(@Param("userId") Integer userId); + + /** + * 鏍规嵁瀛︾敓鑾峰彇鐝骇鍚嶇О + * + * @param userId + * @return + */ + List<String> getClassesNameByUserId(@Param("userId") Integer userId); + + /** + * 鏌ヨ鐝骇鑰佸笀 + * + * @param id + * @return + */ + List<StudentVO> getTeacherListByClassesId(@Param("id") Integer id); } -- Gitblit v1.8.0