|
|
|
|
using System.Linq.Expressions;
|
|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
using DS.WMS.Core.Op.Entity;
|
|
|
|
|
using DS.WMS.Core.TaskInteraction.Dtos;
|
|
|
|
|
using DS.WMS.Core.TaskInteraction.Entity;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.TaskInteraction.Interface
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 海运出口交互任务
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ISeaExportTaskService : ITaskService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建关联子任务
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task CreateSubTaskAsync(IEnumerable<TaskCreationRequest> request);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建关联子任务
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="task"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task CreateSubTaskAsync(BusinessTask task);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生成关联子任务
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dataContext"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GenerateSubTaskAsync(TaskFlowDataContext dataContext);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取提单确认信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bsId">业务ID</param>
|
|
|
|
|
/// <param name="bsType">业务类型</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<DataResult<BLConfirmation>> GetBLConfirmationAsync(long bsId, BusinessType bsType);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取海运出口查询对象
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="expression">查询条件</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
ISugarQueryable<SeaExport> AsQueryable(Expression<Func<SeaExport, bool>>? expression = null);
|
|
|
|
|
}
|
|
|
|
|
}
|