package com.patzn.lims.frame.service;

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

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

/**
 * <p>
 * 年度计划主表附件表 服务类
 * </p>
 *
 * @author patzn
 * @since 2018-07-25
 */
public interface ILmsYearPlanAttachmentService extends IBaseService<LmsYearPlanAttachment> {


    Page<LmsYearPlanAttachment> page(Page<LmsYearPlanAttachment> page, LmsYearPlanAttachment lmsYearPlanAttachment);


    List<LmsYearPlanAttachment> list(LmsYearPlanAttachment lmsYearPlanAttachment);


    boolean save(Long planId, MultipartFile file);


    void download(Long id, HttpServletResponse response);
}
