MemberService.java 1.66 KB
package com.subsidy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.dto.administer.VerifyCodeDTO;
import com.subsidy.dto.member.*;
import com.subsidy.model.ExerciseDoneHistoryDO;
import com.subsidy.model.ExerciseDoneResultDO;
import com.subsidy.model.MemberDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.subsidy.vo.administer.UserRoleVO;
import com.subsidy.vo.member.*;
import com.subsidy.vo.paper.QueryPapersVO;

import java.lang.reflect.Member;
import java.util.List;

/**
 * <p>
 * 学生表 服务类
 * </p>
 *
 * @author DengMin
 * @since 2021-10-11
 */
public interface MemberService extends IService<MemberDO> {

    IPage<GetAllVO> getAll(GetAllDTO getAllDTO);

    String deleteMember(MemberDO memberDO);

    String addMember(AddMemberDTO addMemberDTO);

    String updateMember(AddMemberDTO addMemberDTO);

    UserRoleVO login(VerifyCodeDTO verifyCodeDTO);

    MemberDO passwordLogin(PasswordLoginDTO passwordLoginDTO);

    String updatePassword(MemberDO memberDO);

    MemberStudyPageVO studyPage(MemberDO memberDO);

    ContentVodNewVO contentVod(ContentMemberDTO contentVodDTO);

    List<ContentFilesVO> contentFiles(ContentMemberDTO contentMemberDTO);

    IPage studyHistory(StudyHistoryDTO studyHistoryDTO);

    List<QueryPapersVO> getCourseTest(ContentMemberDTO contentMemberDTO);

    List<ExerciseDoneResultDO> getPaperDoneDetail(ExerciseDoneResultDO exerciseDoneResultDO);

    GetStudyInfoVO getStudyInfo(MemberDO memberDO);

    ExerciseDoneResultDO getDoneResult(ExerciseDoneResultDO exerciseDoneResultDO);

    String checkTimes(ExerciseDoneResultDO exerciseDoneResultDO);

    void importRedis();

}