2021-05-24 09:25:57 +08:00
|
|
|
|
package cn.com.tenlion.dao.excel;
|
|
|
|
|
|
2021-06-01 19:17:13 +08:00
|
|
|
|
import cn.com.tenlion.pojo.dtos.excel.ExcelDTO;
|
2021-05-24 09:25:57 +08:00
|
|
|
|
import ink.wgink.exceptions.SearchException;
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @ClassName: IExcelDao
|
|
|
|
|
* @Description: 导入excel时相关操作
|
|
|
|
|
* @Author: renpc
|
|
|
|
|
* @Date: 2021-02-28 15:38
|
|
|
|
|
* @Version: 1.0
|
|
|
|
|
**/
|
|
|
|
|
@Repository
|
|
|
|
|
public interface IExcelDao {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 字段比对数据库(字典)
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
* @throws SearchException
|
|
|
|
|
*/
|
|
|
|
|
ExcelDTO checkDataFromDict(Map<String, Object> params) throws SearchException;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 字段比对数据库(区域)
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
* @throws SearchException
|
|
|
|
|
*/
|
|
|
|
|
ExcelDTO checkDataFromArea(Map<String, Object> params) throws SearchException;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|