Blame view

ClassSubjectTaskMapper.java 876 Bytes
涂亚平 committed
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
package com.meishu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.task.GetClassStudentsDTO;
import com.meishu.dto.task.GetTaskByIdRequestDTO;
import com.meishu.model.ClassSubjectTaskDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meishu.model.UserRoleDO;
import com.meishu.vo.task.GetTaskByIdVO;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 学习任务列表 Mapper 接口
 * </p>
 *
 * @author DengMin
 * @since 2021-09-16
 */
@Repository
public interface ClassSubjectTaskMapper extends BaseMapper<ClassSubjectTaskDO> {


    IPage<GetTaskByIdVO> queryAlreadyTasks(IPage iPage, Integer classId, Integer subjectId, Date startDate, Date endDate, Integer taskType);

    List<UserRoleDO> getClassStudents(GetClassStudentsDTO getClassStudentsDTO);

}