优化对比接口

This commit is contained in:
tongfei
2023-11-07 11:34:37 +08:00
parent c0610b18c4
commit d4d4b37e66
5 changed files with 118 additions and 9 deletions

View File

@@ -247,6 +247,7 @@ namespace WMS.Web.Domain.Services
var response = new ContrastMaterialsResponse();
response.BoxBillNo = box.BoxBillNo;
response.BoxId = box.Id;
response.TotalCount = box.Details.Sum(x => x.Qty);
response.IsRight = isRight;
return Result<ContrastMaterialsResponse>.ReSuccess(response);
}