|
|
|
@ -699,7 +699,7 @@ namespace Myshipping.Application
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pkId">派车主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
[HttpPost("/TaskManageTruck/SendDispatch")]
|
|
|
|
|
[HttpGet("/TaskManageTruck/SendDispatch")]
|
|
|
|
|
public async Task<TaskManageOrderResultDto> SendDispatch(string pkId)
|
|
|
|
|
{
|
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
|
@ -799,7 +799,7 @@ namespace Myshipping.Application
|
|
|
|
|
/// <param name="taskPkIds">Task任务主键组</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
[HttpPost("/TaskManageTruck/SendDispatchBatchByTask")]
|
|
|
|
|
public async Task<TaskManageOrderResultDto> SendDispatchBatchByTask(string[] taskPkIds)
|
|
|
|
|
public async Task<TaskManageOrderResultDto> SendDispatchBatchByTask([FromBody] string[] taskPkIds)
|
|
|
|
|
{
|
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
|
|
|
|
|
|
@ -832,7 +832,7 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
List<string> msgList = new List<string>();
|
|
|
|
|
|
|
|
|
|
taskList.ForEach(async a => {
|
|
|
|
|
taskList.ForEach(a => {
|
|
|
|
|
var rlt = a.Result;
|
|
|
|
|
|
|
|
|
|
if (!rlt.succ)
|
|
|
|
@ -1097,7 +1097,7 @@ namespace Myshipping.Application
|
|
|
|
|
/// <param name="taskPkIds">Task任务主键组</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
[HttpPost("/TaskManageTruck/CancelDispatchBatchByTask")]
|
|
|
|
|
public async Task<TaskManageOrderResultDto> CancelDispatchBatchByTask(string[] taskPkIds)
|
|
|
|
|
public async Task<TaskManageOrderResultDto> CancelDispatchBatchByTask([FromBody] string[] taskPkIds)
|
|
|
|
|
{
|
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
|
|
|
|
|
|
@ -1130,7 +1130,7 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
List<string> msgList = new List<string>();
|
|
|
|
|
|
|
|
|
|
taskList.ForEach(async a => {
|
|
|
|
|
taskList.ForEach(a => {
|
|
|
|
|
var rlt = a.Result;
|
|
|
|
|
|
|
|
|
|
if (!rlt.succ)
|
|
|
|
|