ClassSubjectTaskMapper.java
876 Bytes
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);
}