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.

64 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
/// <summary>
/// 派车任务
/// </summary>
public interface ITaskManageTruckService
{
/// <summary>
/// 保存派车
/// </summary>
/// <param name="info">派车信息</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> Save(TaskTruckDto info);
/// <summary>
/// 获取派车详情
/// </summary>
/// <param name="pkId">派车主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetInfo(string pkId);
/// <summary>
/// 通过任务主键获取派车详情
/// </summary>
/// <param name="taskPkId">派车主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetInfoByTaskId(string taskPkId);
/// <summary>
/// 打印派车
/// </summary>
/// <param name="pkId">派车主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> Print(string pkId);
/// <summary>
/// 批量派车
/// </summary>
/// <param name="pkIds">派车主键组</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SendDispatchBatch(string[] pkIds);
/// <summary>
/// 取消派车
/// </summary>
/// <param name="pkId">派车主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> CancelDispatch(string pkId);
/// <summary>
/// 批量取消派车
/// </summary>
/// <param name="pkIds">派车主键组</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> CancelDispatchBatch(string[] pkIds);
}
}