优化接口

This commit is contained in:
tongfei
2024-04-08 16:26:10 +08:00
parent 00df837c0e
commit ea7fc34ae1
6 changed files with 49 additions and 21 deletions

View File

@@ -95,7 +95,7 @@ namespace WMS.Web.Domain.Entitys
/// <param name="type"></param>
/// <param name="sourceBillNo"></param>
/// <param name="createTime"></param>
public void Create(InstockType type,string sourceBillNo, DateTime createTime,int supplierId)
public void Create(InstockType type,string sourceBillNo, DateTime createTime,int supplierId,string orgCode)
{
if (type == InstockType.Purchase)
this.Status = InstockStatus.Wait;
@@ -104,6 +104,7 @@ namespace WMS.Web.Domain.Entitys
this.Type = type;
this.SourceBillNo = sourceBillNo;
this.SupplierId = supplierId;
this.OrgCode = orgCode;
this.CreateTime = createTime;
}