修复bug

This commit is contained in:
18942506660
2023-11-16 13:55:22 +08:00
parent 175eb04551
commit 2989739e30
3 changed files with 13 additions and 1 deletions

View File

@@ -152,7 +152,7 @@ namespace WMS.Web.Repositories
public async Task<OutStockTask> Get(int id)
{
var res = await _context.OutStockTask
.Include(s => s.Details)
.Include(s => s.Details).ThenInclude(x=>x.ErpDetails)
.FirstOrDefaultAsync(f => id == f.Id);
return res.Clone();