using Model.ModelDto;
using Model.ModelDto.SysDto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WMS.Entity.SysEntity;
namespace WMS.IDAL.ITableInterface
{
    public interface ITableRepository
    {
        /// 
        /// 获取异常处理信息列表
        /// 
        /// 异常号
        /// 托盘号
        /// 异常储位
        /// 关联单号
        /// 关联任务号
        /// 异常类型
        /// 状态
        /// 
        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 exceptionNo, string type, string palletNo, string excLocatNo, string orderNo, string taskNo, string demo, int uid);
        /// 
        /// 处理异常状态
        /// 
        /// 
        /// 
        Task EditStatus(SysException table);
        /// 
        /// 获取最大异常号
        /// 
        /// 
        SysException GetMaxExceptionNo();
    }
}