using HighWayIot.Repository.domain; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HighWayIot.Repository.service { public interface IRealTaskInfoService { /// /// 添加任务信息 /// /// /// bool AddTaskInfo(RealTaskInfo taskInfo); /// /// 更新任务信息 /// /// /// bool UpdateTaskInfo(RealTaskInfo taskInfo); /// /// 删除任务信息 /// /// bool DeleteTaskInfo(string taskCode); /// /// 通过任务编号更新任务状态 /// /// /// /// bool UpdateTaskStatusByTaskCode(string taskCode, int taskStatus); /// /// 通过仓库编号获取待执行的任务信息,根据时间依次获取 /// /// /// RealTaskInfo GetTaskInfoByStoreCode(string storeCode, int taskType); /// /// 通过任务号获取任务信息 /// /// /// RealTaskInfo GetTaskInfoByTaskCode(string taskCode); /// /// 通过仓库编号获取任务 /// /// /// /// List GetTaskInfosByStoreCode(string[] storeCode,int taskType); /// /// 获取指定状态的任务列表 /// /// /// /// 0返回所有状态;1-待执行;2-执行中;3-已完成 /// List GetTaskInfosByTaskStatus(string[] storeCode, int taskType, int taskStatus); } }