修复bug

This commit is contained in:
18942506660
2023-11-24 15:09:02 +08:00
parent 86f9a23eda
commit 216a3abf27
2 changed files with 3 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ namespace WMS.Web.Domain.Entitys
/// 创建
/// </summary>
/// <param name="creatorId"></param>
public void Create(MoveBoxType type, int boxId,string orgCode, string stockCode, int subStockId, int creatorId)
public void Create(MoveBoxType type, int boxId,decimal qty, string orgCode, string stockCode, int subStockId, int creatorId)
{
this.BoxId = boxId;
this.Type = type;
@@ -83,6 +83,7 @@ namespace WMS.Web.Domain.Entitys
this.StockCode = stockCode;
SrcSubStockId = type == MoveBoxType.Up ? 0 : subStockId;//上架 原仓位是0 目标仓位有值
DestSubStockId = type == MoveBoxType.Up ? subStockId : 0; //下架 原仓位有值 目标仓位是0
this.Qty = qty;
this.CreatorId = creatorId;
this.CreateTime = DateTime.Now;
}