增加组织编码

This commit is contained in:
18942506660
2023-11-22 11:18:59 +08:00
parent 62433615e1
commit 5ae1196f81
9 changed files with 46 additions and 10 deletions

View File

@@ -34,6 +34,11 @@ namespace WMS.Web.Domain.Entitys
[Column("DeliveryOrgId")]
public int DeliveryOrgId { get; set; }
/// <summary>
/// 组织编码
///</summary>
[Column("OrgCode")]
public string OrgCode { get; set; }
/// <summary>
/// 收货客户
///</summary>
[Column("ReceiptCustomerId")]
@@ -72,10 +77,11 @@ namespace WMS.Web.Domain.Entitys
/// 明细
/// </summary>
public List<OutStockTaskDetails> Details = new List<OutStockTaskDetails>();
public void Create(OutStockType type,string stockCode, int deliveryOrgId, int receiptCustomerId, DateTime createTime)
public void Create(OutStockType type,string stockCode,string orgCode, int deliveryOrgId, int receiptCustomerId, DateTime createTime)
{
this.Type = type;
this.StockCode = stockCode;
this.OrgCode = orgCode;
this.DeliveryOrgId = deliveryOrgId;
this.ReceiptCustomerId = receiptCustomerId;
this.CreateTime = createTime;