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.

31 lines
1.1 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.TaskPlat.Dtos;
using DS.WMS.Core.TaskPlat.Entity;
namespace DS.WMS.Core.TaskPlat.Interface
{
public interface ITaskAllocationService
{
/// <summary>
/// 获取任务分配列表中已存在的船公司列表(用于查询)
/// </summary>
Task<DataResult<List<CarrierInfoDto>>> GetContainsCarrierList();
/// <summary>
/// 获取任务分配列表
/// </summary>
/// <param name="carrierId">船公司Id可选</param>
Task<DataResult<TaskAllocationtSetQueryListDto>> GetList(long? carrierId);
/// <summary>
/// 保存任务分配设置
/// </summary>
Task<DataResult> Save(TaskAllocationtSetSaveDto saveDto);
4 months ago
/// <summary>
/// 获取任务分配数据
/// </summary>
/// <param name="isFromCache">是否从缓存提取 true-从缓存读取 false-从数据库读取</param>
/// <returns>返回任务分配数据列表</returns>
Task<DataResult<List<TaskAllocationtSetDto>>> GetAllList(bool isFromCache = true);
}
}