AdministerService.java 1.88 KB
package com.subsidy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.dto.administer.ClassDetailDTO;
import com.subsidy.dto.administer.OperatorsDTO;
import com.subsidy.model.AdministerDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.subsidy.model.ClassDictDO;
import com.subsidy.model.MemberDO;
import com.subsidy.vo.administer.*;
import com.subsidy.vo.classdict.ClassDetailVO;
import com.subsidy.vo.member.ClassSignVO;
import com.subsidy.vo.sign.AnswerRecordVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 管理平台用户 服务类
 * </p>
 *
 * @author DengMin
 * @since 2021-10-11
 */
public interface AdministerService extends IService<AdministerDO> {

    LoginVO login(AdministerDO administerDO);

    AdministerPermissionVO getPermissions();

    IPage<OperatorsVO> operators(OperatorsDTO operatorsDTO);

    String addAdminister(AdministerDO administerDO);

    String deleteAdminister(AdministerDO administerDO);

    String updateAdminister(AdministerDO administerDO);

    ClassSummaryVO classSummary(ClassDetailDTO classDetailDTO);

    IPage classDetail(ClassDetailDTO classDetailDTO);

    List<ClassDetailVO> exportClassDetail(ClassDetailDTO classDetailDTO)throws Exception;

    IPage signDetail(ClassDetailDTO classDetailDTO);

    List<ClassSignVO> exportSignDetail(ClassDetailDTO classDetailDTO)throws Exception;

    IPage exerciseTest(ClassDetailDTO classDetailDTO);

    List<ExerciseTestVO> exportExerciseTest(ClassDetailDTO classDetailDTO)throws Exception;

    IPage answerRecord(ClassDetailDTO classDetailDTO);

    List<AnswerRecordVO> exportAnswerRecord(ClassDetailDTO classDetailDTO)throws  Exception;

    void export(ClassDetailDTO classDetailDTO)throws Exception;

    String importMember(Long companyId, MultipartFile multipartFile);

}