AdministerMapper.java 1.34 KB
package com.subsidy.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.dto.administer.OperatorsDTO;
import com.subsidy.model.AdministerDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.vo.administer.ExerciseTestVO;
import com.subsidy.vo.administer.OperatorsVO;
import com.subsidy.vo.administer.PermissionsVO;
import com.subsidy.vo.classdict.ClassDetailVO;
import com.subsidy.vo.member.ClassSignVO;
import com.subsidy.vo.sign.AnswerRecordVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 管理平台用户 Mapper 接口
 * </p>
 *
 * @author DengMin
 * @since 2021-10-11
 */
@Repository
public interface AdministerMapper extends BaseMapper<AdministerDO> {

    List<PermissionsVO> getPermissions(Long id);

    /**
     * 获取班级成员详情---班级成员
     */
    IPage<ClassDetailVO> classMembers(IPage iPage,Long classId,String userName);

    /**
     * 获取班级成员---注册签到
     */
    IPage<ClassSignVO> classSign(IPage iPage,Long classId,String userName);

    /**
     * 获取班级成员---测试成绩
     */
    IPage<ExerciseTestVO> exerciseTest(IPage iPage, Long classId, String userName);

    /**
     * 获取班级成员---答疑记录
     */
    IPage<AnswerRecordVO> answerRecord(IPage iPage, Long classId, String userName);


}