修复bug

This commit is contained in:
18942506660
2023-10-31 15:14:54 +08:00
parent f011244048
commit fad2cb04cf
2 changed files with 3 additions and 3 deletions

View File

@@ -14,9 +14,9 @@ namespace WMS.Web.Core.Dto
/// </summary> /// </summary>
public int Id { get; set; } public int Id { get; set; }
/// <summary> /// <summary>
/// 箱Id /// 箱
/// </summary> /// </summary>
public int BoxId { get; set; } public string BoxBillNo { get; set; }
/// <summary> /// <summary>
/// 明细信息 /// 明细信息
/// </summary> /// </summary>

View File

@@ -52,7 +52,7 @@ namespace WMS.Web.Repositories
BoxResponse result = new BoxResponse() BoxResponse result = new BoxResponse()
{ {
Id = entity.Id, Id = entity.Id,
BoxId = entity.OpsBoxId BoxBillNo = entity.BoxBillNo
}; };
result.Details = await _context.BoxDetails result.Details = await _context.BoxDetails
.GroupJoin(_context.Box, detail => detail.Fid, order => order.Id, (detail, orders) => new { detail, orders }) .GroupJoin(_context.Box, detail => detail.Fid, order => order.Id, (detail, orders) => new { detail, orders })