调整接口
This commit is contained in:
@@ -41,12 +41,12 @@ namespace WMS.Web.Domain.Entitys
|
||||
[Column("StockCode")]
|
||||
public string StockCode { get; set; }
|
||||
/// <summary>
|
||||
/// 原仓位编码
|
||||
/// 原仓位Id
|
||||
/// </summary>
|
||||
[Column("SrcSubStockId")]
|
||||
public int SrcSubStockId { get; set; }
|
||||
/// <summary>
|
||||
/// 目标仓位编码
|
||||
/// 目标仓位Id
|
||||
/// </summary>
|
||||
[Column("DestSubStockId")]
|
||||
public int DestSubStockId { get; set; }
|
||||
@@ -75,10 +75,11 @@ namespace WMS.Web.Domain.Entitys
|
||||
/// 创建
|
||||
/// </summary>
|
||||
/// <param name="creatorId"></param>
|
||||
public void Create(MoveBoxType type, int boxId, string stockCode, int subStockId, int creatorId)
|
||||
public void Create(MoveBoxType type, int boxId,string orgCode, string stockCode, int subStockId, int creatorId)
|
||||
{
|
||||
this.BoxId = boxId;
|
||||
this.Type = type;
|
||||
this.OrgCode = orgCode;
|
||||
this.StockCode = stockCode;
|
||||
SrcSubStockId = type == MoveBoxType.Up ? 0 : subStockId;//上架 原仓位是0 目标仓位有值
|
||||
DestSubStockId = type == MoveBoxType.Up ? subStockId : 0; //下架 原仓位有值 目标仓位是0
|
||||
|
||||
Reference in New Issue
Block a user