This commit is contained in:
2025-07-16 17:39:43 +08:00
parent a9b512ca0e
commit 9448d5ae09

View File

@@ -756,9 +756,9 @@ namespace WMS.Web.Domain.Services
var detailsB = response.Details.Where(f => f.MaterialCount > 1)
//.ThenByDescending(s => s.Method)
// .ThenByDescending(s => s.Specifications)
//.ThenByDescending(s => s.BoxBillNo).ThenBy(s => s.BoxLength)
.OrderByDescending(s => s.BoxBillNo).ThenByDescending(s => s.Method).ThenByDescending(s => s.Specifications).ThenByDescending(s => s.Qty).ToList();
.OrderByDescending(s => s.BoxBillNo).ThenByDescending(s => s.Method).ThenByDescending(s => s.Qty).ToList();
detailsA.AddRange(detailsB);
response.Details=detailsA;