修复bug

This commit is contained in:
18942506660
2024-03-05 10:38:01 +08:00
parent 5fe632c702
commit 896d2a8507
3 changed files with 2 additions and 4 deletions

View File

@@ -128,9 +128,8 @@ namespace WMS.Web.Domain.Entitys
}); });
} }
else else
{ d.Qty = d.Qty + qty;
d.Qty = qty;
}
return Result.ReSuccess(); return Result.ReSuccess();
} }
/// <summary> /// <summary>

View File

@@ -320,7 +320,6 @@ namespace WMS.Web.Domain.Services
/// <returns></returns> /// <returns></returns>
public async Task<Result> ChangeBox_BackRecord(BackRecord backRecord, LoginInDto loginInfo, bool isTransaction = true) public async Task<Result> ChangeBox_BackRecord(BackRecord backRecord, LoginInDto loginInfo, bool isTransaction = true)
{ {
return Result.ReSuccess();
if (backRecord.Method == InventoryInOutMethod.Box) return Result.ReSuccess(); if (backRecord.Method == InventoryInOutMethod.Box) return Result.ReSuccess();
List<SaveChangeBoxRecordRequest> dtoList = new List<SaveChangeBoxRecordRequest>(); List<SaveChangeBoxRecordRequest> dtoList = new List<SaveChangeBoxRecordRequest>();
var boxIds = backRecord.Details.Select(s => s.BoxId).Distinct().ToList(); var boxIds = backRecord.Details.Select(s => s.BoxId).Distinct().ToList();