You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.3 KiB
C#

4 months ago
using DS.Module.Core;
using DS.Module.Core.Data;
4 months ago
using DS.Module.DjyServiceStatus;
using DS.WMS.Core.Op.Dtos;
4 months ago
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
{
/// <summary>
/// 截止时间变更
/// </summary>
4 months ago
public interface ITaskManageCutDateChangeService
{
/// <summary>
/// 通过任务主键获取截止时间变更详情
/// </summary>
/// <param name="taskPkId">截止时间变更任务主键</param>
/// <returns>返回回执</returns>
Task<DataResult<List<TaskCutDateChangeShowDto>>> GetInfoByTaskId(long taskPKId);
4 months ago
/// <summary>
/// 检索对应的订舱订单并保存订舱ID
/// </summary>
/// <param name="taskPKId">截止时间变更任务主键</param>
/// <returns>返回回执</returns>
Task<DataResult<SeaExportOrderExtension>> SearchAndMarkBookingOrder(long taskPKId);
/// <summary>
/// 更新订单和舱位的截止时间
/// </summary>
/// <param name="dataContext">数据上下文</param>
/// <returns></returns>
Task<DataResult> ModifyBookingOrderOrSlotTask(TaskFlowDataContext dataContext);
4 months ago
/// <summary>
/// 发送邮件通知给客户
/// </summary>
/// <param name="taskPKId">起运港未提箱任务主键</param>
/// <param name="businessTaskMailId">邮件模板主键</param>
/// <returns>返回回执</returns>
Task<DataResult<TaskTransferMsgDto>> InnerSendEmailToCustomer(long taskPKId, long businessTaskMailId);
/// <summary>
/// 发送邮件通知给客户(任务自动机调取)
/// </summary>
/// <param name="dataContext">数据上下文</param>
/// <returns>返回回执</returns>
Task<DataResult<TaskTransferMsgDto>> SendEmailToCustomerTask(TaskFlowDataContext dataContext);
/// <summary>
/// 手工发送邮件通知给客户
/// </summary>
/// <param name="taskPKId">起运港未提箱任务主键</param>
4 months ago
/// <returns>返回回执</returns>
Task<DataResult<TaskTransferMsgDto>> ManualSendEmailToCustomer(long taskPKId);
4 months ago
}
}