根据任务单号查询出库信息

This commit is contained in:
18942506660
2024-09-21 16:23:56 +08:00
parent 3e0f806ba1
commit cbe206b92b
6 changed files with 56 additions and 0 deletions

View File

@@ -607,5 +607,20 @@ namespace WMS.Web.Repositories
if (names.Count() == 0) return "";
return string.Join(",", names);
}
/// <summary>
/// 获取订单信息
/// </summary>
/// <param name="billNo"></param>
/// <returns></returns>
/// <exception cref="NotImplementedException"></exception>
public async Task<OutStockTask> GetByBillNo(string billNo)
{
var entity = await _context.OutStockTask
.Include(s => s.Details)
.ThenInclude(s => s.ErpDetails)
.FirstOrDefaultAsync(w => billNo.Equals(w.BillNo));
return entity.Clone();
}
}
}