
package com.jeelowcode.core.framework.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jeelowcode.core.framework.config.btncommand.param.ButtonParamImport;
import com.jeelowcode.core.framework.entity.ExcelFileDataEntity;
import com.jeelowcode.core.framework.entity.ExcelFileEntity;
import com.jeelowcode.core.framework.params.model.ExcelImportResultModel;
import org.springframework.web.context.request.ServletRequestAttributes;

import java.util.List;

/**
 * Excel导入相关
 */
public interface IExcelFileService extends IService<ExcelFileEntity> {

    //保存Excel数据
    void saveExcelSync( long fileId,ButtonParamImport param);
    ExcelImportResultModel saveExcel(ServletRequestAttributes sra,long fileId, ButtonParamImport param);
    //撤回
    void rollback(Long fileId);
}
