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