|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskManageCutDateChangeService"></param>
|
|
|
|
|
public TaskManageSISubmittedController(ITaskManageSISubmittedService taskManageSISubmittedService)
|
|
|
|
|
{
|
|
|
|
|
_taskManageSISubmittedService = taskManageSISubmittedService;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 通过任务主键获取截单回执详情
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通过任务主键获取截单回执详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPkId">截单回执任务主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
[HttpGet("GetInfoByTaskId")]
|
|
|
|
|
public async Task<DataResult<TaskSISubmittedShowDto>> GetInfoByTaskId(long taskPkId)
|
|
|
|
|
{
|
|
|
|
|
return await _taskManageSISubmittedService.GetInfoByTaskId(taskPkId);
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 处理SI截单回执
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 处理SI截单回执
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPkId">截单回执任务主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
[HttpGet("ProcessSISubmitted")]
|
|
|
|
|
public async Task<DataResult> ProcessSISubmitted(long taskPkId)
|
|
|
|
|
{
|
|
|
|
|
return await _taskManageSISubmittedService.ProcessSISubmitted(taskPkId);
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 获取订舱详情
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取订舱详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPKId">任务主键</param>
|
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
|
[HttpGet("GetBookingOrderInfo")]
|
|
|
|
|
public async Task<DataResult<TaskBookingOrderDto>> GetBookingOrderInfo(long taskPKId)
|
|
|
|
|
{
|
|
|
|
|
return await _taskManageSISubmittedService.GetBookingOrderInfo(taskPKId);
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 获取SI反馈信息
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取SI反馈信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskPKId">任务主键</param>
|
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
|
[HttpGet("GetSIFeedBackInfo")]
|
|
|
|
|
public async Task<DataResult<TaskSIFeedBackResultDto>> GetSIFeedBackInfo(long taskPKId)
|
|
|
|
|
{
|
|
|
|
|
return await _taskManageSISubmittedService.GetSIFeedBackInfo(taskPKId);
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|