From 3faf11ba3c606bb37b0f357ad7429d2ea3801c9e Mon Sep 17 00:00:00 2001 From: 18923810322 <1666941798@qq.com> Date: Wed, 16 Jul 2025 14:07:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WMS.Web.Domain/Services/OutStockTaskService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/WMS.Web.Domain/Services/OutStockTaskService.cs b/src/WMS.Web.Domain/Services/OutStockTaskService.cs index aff32b85..9eadcd94 100644 --- a/src/WMS.Web.Domain/Services/OutStockTaskService.cs +++ b/src/WMS.Web.Domain/Services/OutStockTaskService.cs @@ -670,8 +670,10 @@ namespace WMS.Web.Domain.Services //排序和加序号值以下为最先的 - response.Details = response.Details.OrderByDescending(s => s.Specifications) - .ThenByDescending(s => s.BoxBillNo).ThenBy(s => s.BoxLength).ThenByDescending(s => s.Qty).ToList(); + 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(); for (int i = 0; i < response.Details.Count(); i++) {