箱库存-优化

This commit is contained in:
tongfei
2023-12-18 09:47:33 +08:00
parent 439e49ea6b
commit 1060c964d3
2 changed files with 3 additions and 1 deletions

View File

@@ -844,7 +844,7 @@ namespace WMS.Web.Domain.Services
} }
if (delete_entitys.Count != 0) if (delete_entitys.Count != 0)
{ {
var delete_ids = add_entitys.Select(x => x.Id).ToList(); var delete_ids = delete_entitys.Select(x => x.Id).ToList();
isSuccess = await _boxInventoryRepositories.DeleteRange(delete_ids, isTransaction); isSuccess = await _boxInventoryRepositories.DeleteRange(delete_ids, isTransaction);
if (!isSuccess) return Result.ReFailure(ResultCodes.DateWriteError); if (!isSuccess) return Result.ReFailure(ResultCodes.DateWriteError);
} }
@@ -1276,6 +1276,8 @@ namespace WMS.Web.Domain.Services
return Result.ReSuccess(); return Result.ReSuccess();
} }
//private async Task<Result> ExeTaskBox(List<string> serNubs,bool isTransaction) { }
/// <summary> /// <summary>
/// 入库单-箱库存变更 /// 入库单-箱库存变更
/// </summary> /// </summary>