package com.skr.mdm.api.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.skr.mdm.dto.LoginAdminDTO;
import com.skr.mdm.result.ResponseResult;
import com.skr.mdm.entity.SysChangeCertificateDO;
import com.skr.mdm.bean.qo.controller.QueryObjectQO;
import com.skr.mdm.bean.vo.system.SysChangeCertificateVO;
import org.springframework.web.multipart.MultipartFile;


/**
 * @ProjectName: mdm_new
 * @Package: com.skr.mdm.api.set.service
 * @ClassName: SysChangeCertificateService
 * @Author: Tty
 * @Description: 接口
 * @Date: 2020/11/30 10:38
 * @Version: 1.0
 */
public interface SysChangeCertificateService extends IService<SysChangeCertificateDO> {

	ResponseResult readCerFile(MultipartFile file) throws Exception;

	ResponseResult queryList(QueryObjectQO queryObjectQO,LoginAdminDTO admin);

	ResponseResult addCertificate(LoginAdminDTO admin, MultipartFile file, SysChangeCertificateVO changeCertificateVO) throws Exception;

	ResponseResult sendCertificate(Integer changeCertificateId, LoginAdminDTO admin);

	ResponseResult getCertificate(LoginAdminDTO admin);
}
