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.
31 lines
978 B
C#
31 lines
978 B
C#
using DS.Module.Core;
|
|
using DS.Module.DjyServiceStatus;
|
|
using DS.WMS.Core.TaskPlat.Interface;
|
|
using DS.WMS.Core.TaskPlat.Method;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace DS.WMS.TaskApi.Controllers
|
|
{
|
|
/// <summary>
|
|
/// 任务台-BC子任务相关接口
|
|
/// </summary>
|
|
public class TaskManageBCController : ApiController
|
|
{
|
|
private readonly ITaskManageBCService _taskManageBCService;
|
|
public TaskManageBCController(ITaskManageBCService taskManageBCService)
|
|
{
|
|
_taskManageBCService = taskManageBCService;
|
|
}
|
|
/// <summary>
|
|
/// 通过任务主键获取BC详情
|
|
/// </summary>
|
|
/// <param name="taskId">BC任务主键</param>
|
|
[HttpPost("GetInfoByTaskId")]
|
|
public async Task<DataResult<TaskManageOrderResultDto>> GetInfoByTaskId(long taskId)
|
|
{
|
|
var result = await _taskManageBCService.GetInfoByTaskId(taskId);
|
|
return result;
|
|
}
|
|
}
|
|
}
|