fuliqi
2024-10-17 8546b3d285af4235a0ef615a0c6e89486ae2c806
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.ycl.jxkg.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ycl.jxkg.domain.entity.Meet;
import com.ycl.jxkg.domain.query.MeetQuery;
import com.ycl.jxkg.domain.vo.MeetVO;
import com.ycl.jxkg.domain.vo.StudentSimpleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 会议表 Mapper 接口
 *
 * @author flq
 * @since 2024-06-17
 */
@Mapper
public interface MeetMapper extends BaseMapper<Meet> {
 
    /**
     * id查找会议表
     * @param id
     * @return
     */
    Meet getById(Integer id);
 
    /**
    *  分页
    */
    IPage getPage(IPage page, @Param("query") MeetQuery query);
 
    /**
     * 获取会议对应班级的学生列表
     *
     * @param meetId 会议ID
     * @param keyword 搜索
     * @return
     */
    List<StudentSimpleVO> getStudentList(@Param("meetId") Integer meetId, @Param("keyword") String keyword);
}