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.
81 lines
2.3 KiB
C#
81 lines
2.3 KiB
C#
using Myshipping.Core;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Threading.Tasks;
|
|
using Myshipping.Application.Entity;
|
|
using Myshipping.Application.Service.BookingOrder.Dto;
|
|
using Microsoft.AspNetCore.Http;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Myshipping.Application
|
|
{
|
|
public interface IBookingOrderService
|
|
{
|
|
|
|
Task Delete(string Ids);
|
|
|
|
|
|
Task<BookingOrderOutput> Get(long Id);
|
|
Task<List<BookingLogDto>> GetLog(long Id);
|
|
|
|
Task<IActionResult> Download(long id);
|
|
Task<List<BookingRemark>> GetRemark(long Id);
|
|
|
|
Task AddRemark(BookingRemarkDto dto);
|
|
|
|
|
|
Task AddFile(IFormFile file, [FromForm] BookingFileDto dto);
|
|
|
|
Task<List<BookingFile>> GetFile(long Id);
|
|
|
|
|
|
|
|
Task<List<BookingStatusLogDto>> GetBookingStatusLog(long Id);
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 发送订舱、截单EDI
|
|
/// </summary>
|
|
/// <param name="model">订舱、截单EDI请求</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<dynamic> SendBookingOrClosingEDI (BookingOrClosingEDIOrderDto model);
|
|
|
|
Task BachUpdate(BatchUpdate dto);
|
|
|
|
Task<dynamic> InnerBookingOrClosingEDI(BookingOrClosingEDIOrderDto model);
|
|
/// <summary>
|
|
/// 推送东胜
|
|
/// </summary>
|
|
/// <param name="ids"></param>
|
|
/// <returns></returns>
|
|
Task<dynamic> SendBookingOrder(long[] ids);
|
|
|
|
/// <summary>
|
|
/// 保存(新增或修改)放舱
|
|
/// </summary>
|
|
/// <param name="input">放舱详情</param>
|
|
/// <returns>返回放舱主键</returns>
|
|
Task<long> LetteryardSave(UpdateBookingLetteryardInput input);
|
|
|
|
/// <summary>
|
|
/// 放舱发送
|
|
/// </summary>
|
|
/// <param name="bookingId">订舱ID</param>
|
|
/// <param name="templateId">放舱选择模板</param>
|
|
/// <returns></returns>
|
|
Task SendLetterYard(long bookingId, long templateId);
|
|
|
|
/// <summary>
|
|
/// 设置货物状态完成
|
|
/// </summary>
|
|
/// <param name="code"></param>
|
|
/// <param name="bookingId"></param>
|
|
/// <returns></returns>
|
|
Task SetGoodsStatus(string code, long bookingId);
|
|
|
|
Task SaveLog(BookingOrder newOrder, BookingOrder oldOrder);
|
|
|
|
|
|
Task AutoYardData(long bookId);
|
|
}
|
|
} |