using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Kean.Application.Query.Interfaces { /// /// 表示任务信息查询服务 /// public interface ITaskService { /// /// 获取任务数量 /// /// 库区 /// 类型 /// 条码 /// 起始位置 /// 目标位置 /// 时间头 /// 时间尾 /// 结果 Task GetTaskCount( int[] area, string type, string qualityState, string barcode, string original, string destination, DateTime? timeFrom, DateTime? timeTo); /// /// 获取任务列表 /// /// 库区 /// 类型 /// 条码 /// 起始位置 /// 目标位置 /// 时间头 /// 时间尾 /// 排序 /// 偏移 /// 限制 /// 结果视图 Task> GetTaskList( int[] area, string type, string qualityState, string barcode, string original, string destination, DateTime? timeFrom, DateTime? timeTo, string sort, int? offset, int? limit); } }