| | |
| | | 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> |
| | |
| | | */ |
| | | public interface CoursePackageStudentMapper extends BaseMapper<CoursePackageStudent> { |
| | | |
| | | List<CoursePackageStudent> queryStuDeduClassHourNums(@Param("courseId") Integer courseId, |
| | | @Param("stuId") Integer stuId, |
| | | @Param("appUserId") Integer appUserId); |
| | | |
| | | /** |
| | | * 获取排课预约信息 |
| | | * |
| | | * @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); |
| | | } |