修改截单回执

usertest
jianghaiqing 4 months ago
parent 05fecc14bf
commit 3001a47e37

@ -48,6 +48,6 @@ namespace DS.WMS.Core.TaskPlat.Interface
/// </summary> /// </summary>
/// <param name="taskPKId">任务主键</param> /// <param name="taskPKId">任务主键</param>
/// <returns>返回结果</returns> /// <returns>返回结果</returns>
Task<TaskSIFeedBackResultDto> GetSIFeedBackInfo(long taskPKId); Task<DataResult<TaskSIFeedBackResultDto>> GetSIFeedBackInfo(long taskPKId);
} }
} }

@ -1236,7 +1236,7 @@ namespace DS.WMS.Core.TaskPlat.Method
/// </summary> /// </summary>
/// <param name="taskPKId">任务主键</param> /// <param name="taskPKId">任务主键</param>
/// <returns>返回结果</returns> /// <returns>返回结果</returns>
public async Task<TaskSIFeedBackResultDto> GetSIFeedBackInfo(long taskPKId) public async Task<DataResult<TaskSIFeedBackResultDto>> GetSIFeedBackInfo(long taskPKId)
{ {
TaskSIFeedBackResultDto model = new TaskSIFeedBackResultDto(); TaskSIFeedBackResultDto model = new TaskSIFeedBackResultDto();
@ -1283,7 +1283,7 @@ namespace DS.WMS.Core.TaskPlat.Method
model.SICompareOrderContaKeyList = contaDiff; model.SICompareOrderContaKeyList = contaDiff;
return model; return DataResult<TaskSIFeedBackResultDto>.Success(model);
} }
#endregion #endregion

@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.TaskApi.Controllers namespace DS.WMS.TaskApi.Controllers
{ {
/// <summary> /// <summary>
/// /// 截止时间变更
/// </summary> /// </summary>
public class TaskManageCutDateChangeController : ApiController public class TaskManageCutDateChangeController : ApiController
{ {

@ -0,0 +1,73 @@
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
}
}
Loading…
Cancel
Save