using Model.ModelDto.SysDto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WMS.Entity.SysEntity;
namespace WMS.IBLL.ISysServer
{
public interface IExceptionServer
{
///
/// 查询异常处理表信息
///
/// 托盘号
/// 储位号
/// 单据号 入库单 出库单 移库单
/// 任务号
/// 状态 0:未处理 1:已处理
/// 处理描述
/// 异常类型 0:空取 1:满入 2:双工位异常
///
///
///
Task> GetExceptionList(string palletNo,string excLocatNo,string orderNo,string taskNo,string status,string text,string type,int page= 0,int limit = 10);
///
/// 添加异常处理信息
///
/// 异常类型 0:空取 1:满入 2:双工位异常
/// 托盘号
/// 储位号
/// 单据号 入库单 出库单 移库单
/// 任务号
/// 处理描述
/// 操作人
///
Task AddException(string type, string palletNo, string excLocatNo, string orderNo, string taskNo, string text,int userId);
///
/// 获取异常处理信息列表
///
/// 异常号
/// 托盘号
/// 异常储位
/// 关联单号
/// 关联任务号
/// 异常类型
/// 状态
///
List GetTableList(string exceptionNo, string palletNo, string excLocatNo, string orderNo, string taskNo, string type, string status);
///
/// 根据id获取异常信息
///
/// 异常id
///
SysException GetTableById(int id);
///
/// 新增异常处理
///
/// 异常类型
/// 托盘号
/// 异常储位
/// 关联单号
/// 关联任务号
/// 备注
/// 创建人
///
Task InsertTableName(string type, string palletNo, string excLocatNo, string orderNo, string taskNo, string demo, int uid);
///
/// 处理异常状态-空取异常
///
/// 异常处理dto
///
string EditStatus(ExceptionDto exceptdto);
///
/// 处理异常状态-满入异常
///
/// 异常处理dto
///
string EditStatus2(ExceptionDto exceptdto);
}
}