排序
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user