using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
///
///
///
public interface IBookingTruckService
{
///
/// 保存派车
///
/// 派车信息
/// 返回回执
Task Save(BookingTruckDto info);
///
/// 获取派车详情
///
/// 派车主键
/// 返回回执
Task GetInfo(long id);
///
/// 提交派车
///
/// 派车信息
/// 返回回执
Task Submit(BookingTruckDto info);
///
/// 批量提交派车
///
/// 派车主键组
/// 返回回执
Task SubmitBatch(long[] ids);
///
/// 撤销派车
///
/// 派车主键
/// 返回回执
Task Cancel(long id);
///
/// 批量撤销派车
///
/// 派车主键组
/// 返回回执
Task CancelBatch(long[] ids);
///
/// 打印派车
///
/// 派车主键
/// 返回回执
Task Print(long id);
///
/// 批量派车
///
/// 派车主键组
/// 返回回执
Task SendDispatchBatch(long[] ids);
///
/// 取消派车
///
/// 派车主键
/// 返回回执
Task CancelDispatch(long id);
///
/// 批量取消派车
///
/// 派车主键组
/// 返回回执
Task CancelDispatchBatch(long[] ids);
}
}