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.
128 lines
3.5 KiB
C#
128 lines
3.5 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.WMS.Core.Op.Dtos;
|
|
|
|
namespace DS.WMS.Core.Op.Interface;
|
|
|
|
public interface ISeaExportService
|
|
{
|
|
/// <summary>
|
|
/// 列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<SeaExportRes>> GetListByPage(PageRequest request);
|
|
|
|
|
|
/// <summary>
|
|
/// 编辑
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
DataResult EditSeaExport(SeaExportReq model);
|
|
|
|
/// <summary>
|
|
/// 获取详情
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
DataResult<SeaExportRes> GetSeaExportInfo(string id);
|
|
|
|
|
|
/// <summary>
|
|
/// 批量编辑单据
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
DataResult SeaExportBatchEdit(SeaExportBatchEditReq req);
|
|
|
|
/// <summary>
|
|
/// 业务单据删除
|
|
/// </summary>
|
|
/// <param name="id">业务Id</param>
|
|
/// <returns></returns>
|
|
public DataResult SeaExportDel(string id);
|
|
/// <summary>
|
|
/// 业务单据删除
|
|
/// </summary>
|
|
/// <param name="req">业务Ids</param>
|
|
/// <returns></returns>
|
|
public DataResult SeaExportBatchDel(IdModel req);
|
|
|
|
/// <summary>
|
|
/// 业务锁定
|
|
/// </summary>
|
|
/// <param name="id">业务Id</param>
|
|
/// <returns></returns>
|
|
public DataResult SeaExportBusinessLook(string id);
|
|
|
|
/// <summary>
|
|
/// 业务锁定解锁
|
|
/// </summary>
|
|
/// <param name="id">业务Id</param>
|
|
/// <returns></returns>
|
|
public DataResult SeaExportBusinessUnLook(string id);
|
|
/// <summary>
|
|
/// 费用锁定
|
|
/// </summary>
|
|
/// <param name="id">业务Id</param>
|
|
/// <returns></returns>
|
|
public DataResult SeaExportFeeLook(string id);
|
|
|
|
/// <summary>
|
|
/// 费用锁定解锁
|
|
/// </summary>
|
|
/// <param name="id">业务Id</param>
|
|
/// <returns></returns>
|
|
public DataResult SeaExportFeeUnLook(string id);
|
|
|
|
/// <summary>
|
|
/// 获取场站数据
|
|
/// </summary>
|
|
/// <param name="id">业务Id</param>
|
|
/// <param name="isWeb">是否网站数据 默认false</param>
|
|
/// <returns></returns>
|
|
public Task<DataResult<string>> GetYardData(string id, bool isWeb = false);
|
|
|
|
|
|
/// <summary>
|
|
/// 发起运踪订阅或者更新提单号
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult<string>> SendOrUpdateTrace(List<BillTraceReq> req);
|
|
/// <summary>
|
|
/// 运踪退订
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult<string>> UnsubscribeBillTrace(List<BillTraceUnsubscribeList> req);
|
|
|
|
|
|
/// <summary>
|
|
/// 获取VGM、VGM SI链接
|
|
/// </summary>
|
|
/// <param name="id">业务Id</param>
|
|
/// <returns></returns>
|
|
public Task<DataResult<string[]>> VgmLink(string id);
|
|
/// <summary>
|
|
/// 发送VGM
|
|
/// </summary>
|
|
/// <param name="id">业务Id</param>
|
|
/// <returns></returns>
|
|
public Task<DataResult<string>> VgmSend(string id);
|
|
|
|
/// <summary>
|
|
/// 批量获取vgm
|
|
/// </summary>
|
|
/// <param name="ids">业务id 逗号拼接</param>
|
|
/// <returns></returns>
|
|
public Task<DataResult<List<BatchVGM>>> GetVmgDataList(string ids);
|
|
/// <summary>
|
|
/// 批量保存vgm
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult<string>> SaveBatchVgm(List<BatchVGMList> req);
|
|
|
|
} |