using Furion.DynamicApiController; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { /// /// 派车任务 /// [ApiDescriptionSettings("Application", Name = "TaskManageTruck", Order = 10)] public class TaskManageTruckService : ITaskManageTruckService, IDynamicApiController { /// /// 保存派车 /// /// 派车信息 /// 返回回执 public async Task Save(BookingTruckDto info) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); try { } catch (Exception ex) { } return result; } /// /// 获取派车详情 /// /// 派车主键 /// 返回回执 public async Task GetInfo(long id) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); try { } catch (Exception ex) { } return result; } /// /// 删除派车 /// /// 派车主键 /// 返回回执 public async Task Delete(long id) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); try { } catch (Exception ex) { } return result; } /// /// 打印派车 /// /// 派车主键 /// 返回回执 [HttpGet("/BookingTruck/Print")] public async Task Print(long id) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); try { } catch (Exception ex) { } return result; } /// /// 批量派车 /// /// 派车主键组 /// 返回回执 [HttpPost("/TaskManageTruck/SendDispatchBatch")] public async Task SendDispatchBatch([FromBody] long[] ids) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); try { } catch (Exception ex) { } return result; } /// /// 取消派车 /// /// 派车主键 /// 返回回执 [HttpGet("/TaskManageTruck/CancelDispatch")] public async Task CancelDispatch(long id) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); try { } catch (Exception ex) { } return result; } /// /// 批量取消派车 /// /// 派车主键组 /// 返回回执 [HttpPost("/TaskManageTruck/CancelDispatchBatch")] public async Task CancelDispatchBatch([FromBody] long[] ids) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); try { } catch (Exception ex) { } return result; } } }