using System;
using System.Collections.Generic;
using System.Text;
using Model.InterFaceModel;
using Model.ModelDto.BllCheckDto;
using Model.ModelDto.DataDto;
using Model.ModelVm.BllCheckVm;
namespace WMS.IBLL.IBllCheckServer
{
public interface IStockCheckServer
{
///
/// 获取盘点单据
///
/// 单据号
/// 状态
/// 托盘号
/// 物料编码
/// 物料名称
/// 批次
/// 开始时间
/// 结束时间
///
///
///
///
List GetStockCheckList(string crNo, string status, string palletNo, string skuNo, string skuName, string lotNo, string startTime, string endTime, int page, int limit, out int count);
///
/// 获取盘点单据明细
///
/// 盘点单号
///
///
///
///
List GetStockCheckDetailList(string crNo, int page, int limit, out int count);
///
/// 获取库存明细信息(盘点选择明细数据源)
///
/// 仓库号
/// 巷道号
/// 储位号
/// 物料编码、名称、批次号
///
List GetCheckStockDetailList(string houseNo,string roadwayNo,string locateNo,string msg, int page, int limit, out int count);
///
/// 获取编辑盘点单时信息
///
/// 盘点单据号
///
EditStockCheckDto GetStockCheckDetailById(string crNo);
///
/// 添加/编辑盘点单
///
/// 库存明细集合
///
void AddEditStockCheck(AddEditStockCheckVm model, int userId);
///
/// 删除盘点单
///
/// 盘点单Id
/// 操作人
void DelStockCheck(int id, int userId);
///
/// 维护盘点单备注信息
///
///
///
///
void EditNoticeDemo(int id, string demo, int userId);
///
/// 调整库存并
///
///
///
///
bool StockAdjust(int id, int userId);
///
/// 调整库存-针对异常生成的
///
///
///
///
bool StockAdjustAuto(int id, int userId);
//-----------------------------------------------------------------------
///
/// 盘点出库
///
///
///
///
///
///
///
List CheckOutHouse(string crNo, string outMode, int userId, string url, out string str);
///
/// 盘点出库完成
///
/// 任务号
/// wms:操作人 wcs:0
void CheckSuccess(string taskNo, int userId);
//重新下发盘点出库任务
OutCommandDto AgainSendCheckTask(string taskNo, int userId, string url);
//取消盘点出库任务
void CancelCheckTask(string taskNo, int userId);
///
/// 盘点结果上传erp
///
/// 盘点单Id
/// 上传路径
/// 操作人
bool FinishCr(int id, string url, int userId);
///
/// AGV移库完成
///
///
///
void MoveSuccess(string taskNo, int userId);
///
/// 取消AGV移库任务
///
///
///
void CancelMoveTask(string taskNo, int userId);
#region 数据归档
///
/// 获取盘点单据-数据归档
///
///
public List GetArchivingStockCheckList(string crNo, string status, string palletNo, string skuNo, string skuName,
string lotNo, string startTime, string endTime, int page, int limit, out int count);
///
/// 获取盘点单据明细-数据归档
///
///
public List GetArchivingStockCheckDetailList(string crNo, int page, int limit, out int count);
#endregion
}
}