using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
public interface ITaskManageDRAFTService
{
///
/// 获取DRAFT详情
///
/// DRAFT主键
/// 返回回执
Task GetInfo(string pkId);
///
/// 通过任务主键获取DRAFT详情
///
/// DRAFT任务主键
/// 返回回执
Task GetInfoByTaskId(string taskPkId);
///
/// 任务ID下载附件
///
/// DRAFT任务主键
/// 附件分类代码
/// 返回数据流
Task DownloadFile(string taskPKId, string fileCategory = "DRAFT");
///
/// 发送邮件
///
/// DRAFT任务主键
/// 是否使用个人邮箱发送
/// 返回回执
Task SendEmail(string taskPKId,bool usePersonalEmailSend = false);
///
/// 重新处理DRAFT任务
/// 对未匹配订舱订单的任务记录重新对应订舱订单
///
/// DRAFT任务主键
///
Task SearchAndConnectBookingInfo(string taskPkId);
}
}