箱信息增加软删除
This commit is contained in:
@@ -55,6 +55,10 @@ namespace WMS.Web.Domain.Entitys
|
||||
/// 创建时间(对应老OPS的创建时间)
|
||||
/// </summary>
|
||||
public DateTime CreateTime { get; set; } = DateTime.Now;
|
||||
/// <summary>
|
||||
/// 是否删除 ops供应链重新装箱后软删除
|
||||
/// </summary>
|
||||
public bool? IsDelete { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 明细
|
||||
@@ -191,5 +195,13 @@ namespace WMS.Web.Domain.Entitys
|
||||
|
||||
return Result.ReSuccess();
|
||||
}
|
||||
/// <summary>
|
||||
/// 软删除
|
||||
/// </summary>
|
||||
public void Delete()
|
||||
{
|
||||
this.IsDelete = true;
|
||||
this.Details.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,5 @@ namespace WMS.Web.Domain.Infrastructure
|
||||
Task<List<Box>> GetEntityList(List<int> ids);
|
||||
|
||||
Task<List<Box>> GetEntityListByNos(List<string> billNos);
|
||||
//批量删除
|
||||
Task<bool> DeleteEntityList(List<int> boxIds, bool isTransaction = true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user