修改排序
This commit is contained in:
@@ -670,8 +670,10 @@ namespace WMS.Web.Domain.Services
|
|||||||
|
|
||||||
//排序和加序号值以下为最先的
|
//排序和加序号值以下为最先的
|
||||||
|
|
||||||
response.Details = response.Details.OrderByDescending(s => s.Specifications)
|
response.Details = response.Details.OrderByDescending(s => s.Specifications).ThenByDescending(s => s.Method)
|
||||||
.ThenByDescending(s => s.BoxBillNo).ThenBy(s => s.BoxLength).ThenByDescending(s => s.Qty).ToList();
|
|
||||||
|
//.ThenByDescending(s => s.BoxBillNo).ThenBy(s => s.BoxLength)
|
||||||
|
.ThenByDescending(s => s.Qty).ToList();
|
||||||
|
|
||||||
for (int i = 0; i < response.Details.Count(); i++)
|
for (int i = 0; i < response.Details.Count(); i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user