package com.patzn.lims.staff.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.patzn.lims.core.web.IBaseService;
import com.patzn.lims.staff.entity.LmsStaffCertificateAttachment;
import org.springframework.web.multipart.MultipartFile;

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

/**
 * <p>
 * 证书编号附件表 服务类
 * </p>
 *
 * @author patzn
 * @since 2018-06-27
 */
public interface ILmsStaffCertificateAttachmentService extends IBaseService<LmsStaffCertificateAttachment> {


    Page<LmsStaffCertificateAttachment> page(Page<LmsStaffCertificateAttachment> page, LmsStaffCertificateAttachment lmsStaffCertificateAttachment);


    List<LmsStaffCertificateAttachment> list(LmsStaffCertificateAttachment lmsStaffCertificateAttachment);


    boolean save(Long customerId, MultipartFile file);


    void download(Long id, HttpServletResponse response);
}
