Blame view

AdministerMapper.java 1.34 KB
涂亚平 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
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);


}