package com.bcxin.autodownloadupload.service;

import com.bcxin.autodownloadupload.dtos.FerryReceiveTaskPushResult;
import com.bcxin.autodownloadupload.entity.PushRecord;

/**
 * description: 推送数据服务
 * author: linchunpeng
 * date:  2023-04-19 9:26
 */
public interface PushDataService {

    /**
     * description: 推送文件，执行自动上传、自动执行sql
     * author: linchunpeng
     * date:  2023-04-23 17:48
     */
    PushRecord pushData(String requestId, boolean isNeedUnzip);

    /**
     * description: 推送文件，执行自动上传、自动执行sql-异步调用
     * author: linchunpeng
     * date:  2023-04-23 17:48
     */
    void pushDataAsync(String requestId, boolean isNeedUnzip);

    /**
     * description：查询自动摆渡推送结果
     * author：linchunpeng
     * date：2024/6/17
     */
    FerryReceiveTaskPushResult queryAutoFerryPushResult(String requestId);
}
