2022-06-29 14:50:11 +08:00
|
|
|
package com.engine.organization.service;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author:dxfeng
|
|
|
|
|
* @createTime: 2022/06/29
|
|
|
|
|
* @version: 1.0
|
|
|
|
|
*/
|
|
|
|
|
public interface ImportCommonService {
|
2022-07-26 09:40:13 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取导入字段
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
Map<String, Object> getImportFields(String importType);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取导入表单
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
2022-07-26 16:33:41 +08:00
|
|
|
Map<String, Object> getImportForm(String importType, String columns);
|
2022-07-26 09:40:13 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 导入数据
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
2022-07-29 16:20:59 +08:00
|
|
|
Map<String, Object> saveImport(Map<String, Object> params,HttpServletRequest request);
|
2022-07-26 09:40:13 +08:00
|
|
|
|
2022-07-27 10:48:43 +08:00
|
|
|
/**
|
|
|
|
|
* 导入日志详情列表
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
Map<String, Object> getImportResult(Map<String, Object> params);
|
2022-07-27 09:22:15 +08:00
|
|
|
|
2022-08-17 19:29:46 +08:00
|
|
|
Map<String, Object> getHasRight();
|
|
|
|
|
|
2022-09-15 16:51:35 +08:00
|
|
|
Map<String,Object> saveCommonImport(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
Map<String, Object> getCommonForm(String importModule);
|
|
|
|
|
|
2022-06-29 14:50:11 +08:00
|
|
|
}
|