修复bug

This commit is contained in:
18942506660
2024-07-19 13:39:34 +08:00
parent dc93850eae
commit f49f119f0a
3 changed files with 12 additions and 2 deletions

View File

@@ -1354,7 +1354,7 @@ namespace WMS.Web.Domain.Services
StockCode = dto.StockCode,
SubStockCode = dto.SubStockCode
};
boxInvent = await _boxInventoryRepositories.Add(box_add);
boxInvent = await _boxInventoryRepositories.Add(box_add, isTransaction);
if (boxInvent == null) return Result.ReFailure(ResultCodes.DateWriteError);
boxInventorys.Add(boxInvent);
}