优化对比接口

This commit is contained in:
tongfei
2023-11-21 11:46:06 +08:00
parent a526025b58
commit c6c0ae54bd

View File

@@ -446,6 +446,7 @@ namespace WMS.Web.Domain.Services
r_box.BoxId = box.Id;
r_box.TotalCount = box.Details.Sum(x => x.Qty);
r_box.Details = _mapper.Map<List<ContrastBoxDetailsResponse>>(box.Details);
response.Boxs.Add(r_box);
}
return Result<ContrastMaterialsResponse>.ReSuccess(response);
}