DataToolsService.java 616 Bytes
package com.bsth.service.schedule.utils;

import com.bsth.service.schedule.exception.ScheduleException;

import java.io.File;
import java.util.Map;

/**
 * 数据服务接口。
 */
public interface DataToolsService {
    //----------------- 数据服务操作 --------------//
    // 上传文件
    DataToolsFile uploadFile(String filename, byte[] filedata) throws ScheduleException;
    // 导入数据
    void importData(File file, Map<String, Object> params) throws ScheduleException;
    // export数据
    DataToolsFile exportData(Map<String, Object> params) throws ScheduleException;
}