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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.subsidy.dto.administer.VerifyCodeDTO;
import com.subsidy.dto.member.AddMemberDTO;
import com.subsidy.dto.member.ChangeDepartmentsDTO;
import com.subsidy.dto.member.ContentMemberDTO;
import com.subsidy.dto.member.GetAllDTO;
import com.subsidy.dto.member.MyCoursesDTO;
import com.subsidy.dto.member.PasswordLoginDTO;
import com.subsidy.dto.member.StudyHistoryDTO;
import com.subsidy.model.ExerciseDoneResultDO;
import com.subsidy.model.FileDictDO;
import com.subsidy.model.MemberDO;
import com.subsidy.vo.administer.UserRoleVO;
import com.subsidy.vo.member.ContentFilesVO;
import com.subsidy.vo.member.ContentVodNewVO;
import com.subsidy.vo.member.GetAllVO;
import com.subsidy.vo.member.GetStudyInfoVO;
import com.subsidy.vo.member.MemberStudyPageVO;
import com.subsidy.vo.member.MemberVO;
import com.subsidy.vo.member.MyCoursesVO;
import com.subsidy.vo.paper.QueryPapersVO;

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);

    MemberVO passwordLogin(PasswordLoginDTO passwordLoginDTO);

    String updatePassword(MemberDO memberDO);

    MemberStudyPageVO studyPage(MemberDO memberDO);

    List<MyCoursesVO> myCourses(MyCoursesDTO myCoursesDTO);

    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);

    String checkTimes(ExerciseDoneResultDO exerciseDoneResultDO);

    void importRedis();

    String changeDepartments(ChangeDepartmentsDTO changeDepartmentsDTO);

}