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.

145 lines
4.9 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.Op.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Interface
{
/// <summary>
/// 提单管理
/// </summary>
public interface IBLIssueManageService
{
/// <summary>
/// 提单管理台账查询
/// </summary>
/// <param name="querySearch">查询条件</param>
/// <param name="isExport">是否导出</param>
/// <returns>返回回执</returns>
Task<DataResult<List<BLIssueManageBaseDto>>> GetPageAsync(PageRequest<BLIssueMangeQueryExtDto> querySearch, bool isExport = false);
/// <summary>
/// 打印
/// </summary>
/// <param name="id">提单管理主键</param>
/// <returns>返回回执</returns>
Task<DataResult<string>> Print(long id);
/// <summary>
/// 提单签入
/// </summary>
/// <param name="model">提单签入请求</param>
/// <returns>返回回执</returns>
Task<DataResult> BLCheckIn(BLCheckInOutDto model);
/// <summary>
/// 取消提单签入
/// </summary>
/// <param name="model">取消提单签入请求</param>
/// <returns>返回回执</returns>
Task<DataResult> BLCheckInCancel(BLCheckInOutDto model);
/// <summary>
/// 提单签出
/// </summary>
/// <param name="model">提单签入请求</param>
/// <returns>返回回执</returns>
Task<DataResult> BLCheckOut(BLCheckInOutDto model);
/// <summary>
/// 取消提单签出
/// </summary>
/// <param name="model">取消提单签入请求</param>
/// <returns>返回回执</returns>
Task<DataResult> BLCheckOutCancel(BLCheckInOutDto model);
/// <summary>
/// 船证签入
/// </summary>
/// <param name="model">船证签入请求</param>
/// <returns>返回回执</returns>
Task<DataResult> ShipCertCheckIn(ShipCertCheckInOutDto model);
/// <summary>
/// 取消船证签入
/// </summary>
/// <param name="model">取消船证签入请求</param>
/// <returns>返回回执</returns>
Task<DataResult> ShipCertCheckInCancel(ShipCertCheckInOutDto model);
/// <summary>
/// 船证签出
/// </summary>
/// <param name="model">船证签出请求</param>
/// <returns>返回回执</returns>
Task<DataResult> ShipCertCheckOut(ShipCertCheckInOutDto model);
/// <summary>
/// 取消船证签出
/// </summary>
/// <param name="model">取消船证签出请求</param>
/// <returns>返回回执</returns>
Task<DataResult> ShipCertCheckOutCancel(ShipCertCheckInOutDto model);
/// <summary>
/// 提单换签(背书)
/// </summary>
/// <param name="model">提单换签(背书)请求</param>
/// <returns>返回回执</returns>
Task<DataResult> BLCheckChangeEndorse(BLCheckInOutDto model);
/// <summary>
/// 取消提单换签(背书)
/// </summary>
/// <param name="model">取消提单换签(背书)请求</param>
/// <returns>返回回执</returns>
Task<DataResult> BLCheckChangeEndorseCancel(BLCheckInOutDto model);
/// <summary>
/// 驳回放单通知
/// </summary>
/// <param name="model">驳回放单通知请求</param>
/// <returns>返回回执</returns>
Task<DataResult> BLRejectReleaseNotice(BLCheckInOutDto model);
/// <summary>
/// 更改提单(其他)
/// </summary>
/// <param name="model">更改提单请求</param>
/// <returns>返回回执</returns>
Task<DataResult> BLModify(BLCheckInOutDto model);
/// <summary>
/// 状态更改
/// </summary>
/// <param name="model">状态更改请求</param>
/// <returns>返回回执</returns>
Task<DataResult> BLModifyStatus(BLCheckInOutDto model);
/// <summary>
/// 查询单票的提单管理日志
/// </summary>
/// <param name="id">提单管理主键</param>
/// <returns>返回日志列表</returns>
Task<DataResult<List<BusinessTaskLogDto>>> GetLogs(long id);
/// <summary>
/// 获取相关信息
/// </summary>
/// <param name="id">提单管理主键</param>
/// <returns>返回相关信息</returns>
Task<DataResult<BLIssueCustomerDto>> GetRelateInfo(long id);
/// <summary>
/// 获取欠费详情列表
/// </summary>
/// <param name="id">提单管理主键</param>
/// <returns>返回列表</returns>
Task<DataResult<List<BLOverdueFeeDto>>> GetOverdueFeeList(long id);
}
}