using DS.Module.Core;
using DS.Module.Core.Data;
using DS.Module.DjyServiceStatus;
using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.TaskPlat.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.TaskPlat.Interface
{
///
/// 截止时间变更
///
public interface ITaskManageCutDateChangeService
{
///
/// 通过任务主键获取截止时间变更详情
///
/// 截止时间变更任务主键
/// 返回回执
Task>> GetInfoByTaskId(long taskPKId);
///
/// 检索对应的订舱订单并保存订舱ID
///
/// 截止时间变更任务主键
/// 返回回执
Task> SearchAndMarkBookingOrder(long taskPKId);
///
/// 更新订单和舱位的截止时间
///
/// 数据上下文
///
Task ModifyBookingOrderOrSlotTask(TaskFlowDataContext dataContext);
///
/// 发送邮件通知给客户
///
/// 起运港未提箱任务主键
/// 邮件模板主键
/// 返回回执
Task> InnerSendEmailToCustomer(long taskPKId, long businessTaskMailId);
///
/// 发送邮件通知给客户(任务自动机调取)
///
/// 数据上下文
/// 返回回执
Task> SendEmailToCustomerTask(TaskFlowDataContext dataContext);
///
/// 手工发送邮件通知给客户
///
/// 起运港未提箱任务主键
/// 返回回执
Task> ManualSendEmailToCustomer(long taskPKId);
}
}