From d01fa2df1b46f45647e82be6d1476ea1e295f995 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期日, 27 十月 2024 21:31:53 +0800 Subject: [PATCH] 一个班级可以有多个老师 --- src/main/java/com/ycl/jxkg/mapper/ExamSubmitTempMapper.java | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/mapper/ExamSubmitTempMapper.java b/src/main/java/com/ycl/jxkg/mapper/ExamSubmitTempMapper.java index 039ac76..cb87083 100644 --- a/src/main/java/com/ycl/jxkg/mapper/ExamSubmitTempMapper.java +++ b/src/main/java/com/ycl/jxkg/mapper/ExamSubmitTempMapper.java @@ -1,10 +1,12 @@ package com.ycl.jxkg.mapper; -import com.ycl.jxkg.domain.entity.ExamSubmitTemp; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.ycl.jxkg.domain.entity.ExamSubmitTemp; +import com.ycl.jxkg.domain.query.ExamQuery; import com.ycl.jxkg.domain.vo.ExamSubmitTempVO; -import java.util.List; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; /** * 鎻愪氦璇曞嵎涓存椂淇濆瓨 Mapper 鎺ュ彛 @@ -22,4 +24,11 @@ */ ExamSubmitTempVO getById(Integer id); + /** + * 鏍规嵁鑰冭瘯id鑾峰彇鐩戞帶鍒楄〃 + * @param query 鑰冭瘯id + * @return 鐩戞帶鍒楄〃 + */ + IPage<ExamSubmitTempVO> monitorList(IPage<ExamSubmitTempVO> page, @Param("query") ExamQuery query); + } -- Gitblit v1.8.0