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 Microsoft.AspNetCore.Http;
namespace DS.WMS.Core.TaskPlat.Interface
{
public interface ITaskManageBCService
{
///
/// 通过任务信息(BC)生成订舱或舱位
///
/// 生成订舱或者舱位请求
/// 返回回执
Task> CreateBookingAndSlot(BookingOrSlotGenerateDto model);
///
/// 通过任务主键获取BC详情
///
/// BC任务主键
Task> GetInfoByTaskId(long taskId);
///
/// 获取当前比对结果
///
/// BC任务主键
/// 返回回执
Task>> GetCompareResult(long taskId);
///
/// 同步舱位变更
///
/// BC任务主键
/// 返回回执
Task SyncBookingSlotChange(long taskPKId);
///
/// 同步舱位变更(任务自动)
///
/// 上下文
/// 返回回执
Task SyncBookingSlotChangeTask(TaskFlowDataContext dataContext);
}
}