using DS.Module.Core; using DS.WMS.Core.TaskPlat.Dtos; using DS.WMS.Core.TaskPlat.Interface; using Microsoft.AspNetCore.Mvc; namespace DS.WMS.TaskApi.Controllers { public class TaskManageSISubmittedController : ApiController { private readonly ITaskManageSISubmittedService _taskManageSISubmittedService; /// /// /// /// public TaskManageSISubmittedController(ITaskManageSISubmittedService taskManageSISubmittedService) { _taskManageSISubmittedService = taskManageSISubmittedService; } #region 通过任务主键获取截单回执详情 /// /// 通过任务主键获取截单回执详情 /// /// 截单回执任务主键 /// 返回回执 [HttpGet] [Route("GetInfoByTaskId")] public async Task> GetInfoByTaskId(long taskPkId) { return await _taskManageSISubmittedService.GetInfoByTaskId(taskPkId); } #endregion #region 处理SI截单回执 /// /// 处理SI截单回执 /// /// 截单回执任务主键 /// 返回回执 [HttpGet] [Route("ProcessSISubmitted")] public async Task ProcessSISubmitted(long taskPkId) { return await _taskManageSISubmittedService.ProcessSISubmitted(taskPkId); } #endregion #region 获取订舱详情 /// /// 获取订舱详情 /// /// 任务主键 /// 返回结果 [HttpGet] [Route("GetBookingOrderInfo")] public async Task> GetBookingOrderInfo(long taskPKId) { return await _taskManageSISubmittedService.GetBookingOrderInfo(taskPKId); } #endregion #region 获取SI反馈信息 /// /// 获取SI反馈信息 /// /// 任务主键 /// 返回结果 [HttpGet] [Route("GetSIFeedBackInfo")] public async Task> GetSIFeedBackInfo(long taskPKId) { return await _taskManageSISubmittedService.GetSIFeedBackInfo(taskPKId); } #endregion } }