package com.ylcm.sys.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.multipart.MultipartFile;

public interface ExcelService {
    
	/** 检查Excel并判断是否有重复数据 */
    String checkExcel(HttpServletRequest request, MultipartFile excelFile, Integer type) throws Exception;
    
    /** 批量导入数据 */
    String insertDataFromExcel(List<List<String>> source,Integer type) throws Exception;
}
