38 lines
816 B
Java
38 lines
816 B
Java
package cn.com.tenlion.dao.excel;
|
|
|
|
import cn.com.tenlion.pojo.dtos.excel.ExcelDTO;
|
|
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;
|
|
|
|
|
|
} |