修复bug

This commit is contained in:
18942506660
2024-06-20 16:50:14 +08:00
parent e1ef73afac
commit d67f7941b9
2 changed files with 1 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ namespace WMS.Web.Domain.Services
var res = await CreateBox(d); var res = await CreateBox(d);
if (!res.IsSuccess) return res; if (!res.IsSuccess) return res;
dBox = await _boxRepositories.GetByNo(d.DestBoxBillNo); dBox = await _boxRepositories.GetByNo(d.DestBoxBillNo);
dto.First().DestBoxId = dBox.Id; dto.ForEach(f => f.DestBoxId = dBox.Id);
isAddBox = true; isAddBox = true;
} }
} }