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.
51 lines
1.7 KiB
C#
51 lines
1.7 KiB
C#
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
|
|
{
|
|
/// <summary>
|
|
/// 获取DRAFT详情
|
|
/// </summary>
|
|
/// <param name="pkId">DRAFT主键</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskDraftShowDto> GetInfo(string pkId);
|
|
|
|
/// <summary>
|
|
/// 通过任务主键获取DRAFT详情
|
|
/// </summary>
|
|
/// <param name="taskPkId">DRAFT任务主键</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskDraftShowDto> GetInfoByTaskId(string taskPkId);
|
|
|
|
/// <summary>
|
|
/// 任务ID下载附件
|
|
/// </summary>
|
|
/// <param name="taskPKId">DRAFT任务主键</param>
|
|
/// <param name="fileCategory">附件分类代码</param>
|
|
/// <returns>返回数据流</returns>
|
|
Task<IActionResult> DownloadFile(string taskPKId, string fileCategory = "DRAFT");
|
|
|
|
/// <summary>
|
|
/// 发送邮件
|
|
/// </summary>
|
|
/// <param name="taskPKId">DRAFT任务主键</param>
|
|
/// <param name="usePersonalEmailSend">是否使用个人邮箱发送</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> SendEmail(string taskPKId,bool usePersonalEmailSend = false);
|
|
|
|
/// <summary>
|
|
/// 重新处理DRAFT任务
|
|
/// 对未匹配订舱订单的任务记录重新对应订舱订单
|
|
/// </summary>
|
|
/// <param name="taskPkId">DRAFT任务主键</param>
|
|
/// <returns></returns>
|
|
Task<TaskManageOrderResultDto> SearchAndConnectBookingInfo(string taskPkId);
|
|
}
|
|
}
|