改箱调整
This commit is contained in:
@@ -25,11 +25,6 @@ namespace WMS.Web.Domain.Entitys
|
||||
[Column("MaterialId")]
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库Id
|
||||
/// </summary>
|
||||
[Column("StockId")]
|
||||
public int StockId { get; set; }
|
||||
/// <summary>
|
||||
/// 序列号
|
||||
/// </summary>
|
||||
[Column("SerialNumbers")]
|
||||
@@ -50,16 +45,6 @@ namespace WMS.Web.Domain.Entitys
|
||||
[Column("DestBoxId")]
|
||||
public int DestBoxId { get; set; }
|
||||
/// <summary>
|
||||
/// 原仓位ID
|
||||
/// </summary>
|
||||
[Column("SrcSubStockId")]
|
||||
public int SrcSubStockId { get; set; }
|
||||
/// <summary>
|
||||
/// 目标仓位ID
|
||||
/// </summary>
|
||||
[Column("DestSubStockId")]
|
||||
public int DestSubStockId { get; set; }
|
||||
/// <summary>
|
||||
/// 操作人
|
||||
/// </summary>
|
||||
[Column("CreatorId")]
|
||||
@@ -73,8 +58,16 @@ namespace WMS.Web.Domain.Entitys
|
||||
/// 创建
|
||||
/// </summary>
|
||||
/// <param name="creatorId"></param>
|
||||
public void Create(int creatorId)
|
||||
/// <param name="qty"></param>
|
||||
/// <param name="materialId"></param>
|
||||
/// <param name="serialNumbers"></param>
|
||||
public void Create(int creatorId,decimal qty,int materialId, List<string> serialNumbers,int srcBoxId,int destBoxId)
|
||||
{
|
||||
this.SrcBoxId = srcBoxId;
|
||||
this.DestBoxId = destBoxId;
|
||||
this.SerialNumbers = serialNumbers;
|
||||
this.MaterialId = materialId;
|
||||
this.Qty = qty;
|
||||
this.CreatorId = creatorId;
|
||||
this.CreateTime = DateTime.Now;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user