package com.xiaoniu.subsystem.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoniu.subsystem.business.domain.ProfileManage;
import com.xiaoniu.subsystem.business.domain.dto.ProfileSaveDTO;
import com.xiaoniu.subsystem.business.domain.vo.ProfileManageVO;
import com.xiaoniu.subsystem.business.domain.vo.ProfileVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface IProfileManageService extends IService<ProfileManage> {
    IPage<ProfileManageVO> selectProfilePage(IPage<ProfileManageVO> page, ProfileManageVO profile);

    /**
     * 处理下载zip压缩包
     *
     * @param file
     * @param type 类型(0培训资料 1结算资料 2评审资料)
     */
    void importProFile(MultipartFile file, ProfileSaveDTO dto);

    boolean updateByIds(List<String> list);

}
