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 skuNo, string lotNo, int page, int limit, out int count);
///
/// 获取编辑盘点单时信息
///
/// 盘点单据号
///
EditStockCheckDto GetStockCheckDetailById(string crNo);
///
/// 添加/编辑盘点单
///
/// 库存明细集合
///
void AddEditStockCheck(AddEditStockCheckVm model, int userId);
///
/// 删除盘点单
///
/// 盘点单Id
/// 操作人
void DelStockCheck(int id, int userId);
///
/// 调整库存并
///
///
///
///
bool StockAdjust(int id, int userId);
///
/// 作废库存盘点
///
///
///
///
bool ZuofeiCr(int id, int userId);
//-----------------------------------------------------------------------
///
/// 盘点出库
///
///
///
///
///
///
List CheckOutHouse(string crNo, int userId, string url, out string str);
///
/// 盘点出库完成
///
/// 任务号
/// wms:操作人 wcs:0
void CheckSuccess(string taskNo, int userId, string url);
///
/// 取消盘点出库任务
///
///
///
void ExportSuccess(string taskNo, int userId, string url);
///
/// 盘点结果上传erp
///
/// 盘点单Id
/// 上传路径
/// 操作人
bool FinishCr(int id, string url, int userId);
}
}