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.
|
|
|
|
using System.Linq.Expressions;
|
|
|
|
|
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="expression">查询条件</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
ISugarQueryable<SeaExport> AsQueryable(Expression<Func<SeaExport, bool>>? expression = null);
|
|
|
|
|
}
|
|
|
|
|
}
|