This commit is contained in:
2025-07-16 17:38:30 +08:00
parent 1c5df7829a
commit a9b512ca0e

View File

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