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.
BookingHeChuan/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskCautionNoticeService.cs

40 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Service.TaskManagePlat.Interface
{
/// <summary>
/// 重要提醒任务
/// </summary>
public interface ITaskCautionNoticeService
{
/// <summary>
/// 获取重要任务详情
/// </summary>
/// <param name="taskPkId">重要提醒任务主键</param>
/// <returns>返回详情</returns>
Task<TaskCautionNoticeShowDto> GetInfoByTaskId(string taskPkId);
/// <summary>
/// 触发推送消息
/// </summary>
/// <param name="taskPKId">重要提醒任务主键</param>
/// <param name="tenantId">租户ID</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> TriggerSendNotice(string taskPKId, long tenantId);
/// <summary>
/// 生成重要提醒整船通知
/// </summary>
/// <param name="model">请求详情</param>
/// <param name="slotBaseInfo">舱位详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GenerateWholeShipCaucation(CautionNoticeTaskWholeShipDto model, BookingSlotBase slotBaseInfo);
}
}