打印日志

This commit is contained in:
tongfei
2024-03-13 15:11:29 +08:00
parent ee68cecf0e
commit 313ed68d46
2 changed files with 10 additions and 2 deletions

View File

@@ -150,6 +150,7 @@ namespace WMS.Web.Domain.Services
/// <returns></returns>
public async Task<Result> GenerateMoveBox(List<MoveBoxRecord> dtoDatas, bool isTransaction)
{
_logger.LogInformation("移箱-箱库存变更1" + JsonConvert.SerializeObject(dtoDatas));
//1.判断来源数据是否存在
if (dtoDatas == null || dtoDatas.Count == 0)
return Result.ReFailure(ResultCodes.InventoryNoSourceError);
@@ -824,6 +825,7 @@ namespace WMS.Web.Domain.Services
var add_entitys = new List<BoxInventory>();
var InventoryDetailsGenerateDto = new List<InventoryDetailsGenerateDto>();
_logger.LogInformation("移箱-箱库存变更2" + JsonConvert.SerializeObject(dtoDatas));
//3.遍历dto
foreach (var dto in dtoDatas)
{