nickchange
2023-11-29 d4fbea2ac7f7c98ffd83480f8f2535ca92f3baea
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
44
45
46
47
package com.dsh.course.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dsh.course.entity.CoursePackageStudent;
import com.dsh.course.entity.StudentClassInfo;
import com.dsh.course.entity.dto.ClassListDto;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 学员上课记录 Mapper 接口
 * </p>
 *
 * @author jqs
 * @since 2023-06-30
 */
public interface CoursePackageStudentMapper extends BaseMapper<CoursePackageStudent> {
 
 
    /**
     * 获取排课预约信息
     *
     * @param page
     * @param ids
     * @param userId
     * @param studentId
     * @return
     */
    List<Map<String, Object>> queryCoursePackageStudentList(Page<Map<String, Object>> page, @Param("ids") List<Long> ids,
                                                            @Param("userId") List<Integer> userId, @Param("studentId") List<Integer> studentId);
 
    StudentClassInfo listAll(@Param("tStudentId") Integer tStudentId);
 
    List<ClassListDto> getClassList(@Param("tStudentId") Integer tStudentId);
 
    Date getMaxDate(@Param("tStudentId") Integer tStudentId);
 
    void updateSignInOrNotById(@Param("id") Long id);
 
 
    List<ClassListDto> getHoliList(@Param("tStudentId")Integer tStudentId);
}