From f7e4df05e0da0236fd9cc37dfe3d21db028dcc3c Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Fri, 24 May 2024 16:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1=E5=8F=B0?= =?UTF-8?q?=E6=95=B0=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/TaskManagePlat/TaskManageService.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskManageService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskManageService.cs index 8f8da433..ec95c436 100644 --- a/Myshipping.Application/Service/TaskManagePlat/TaskManageService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/TaskManageService.cs @@ -1897,6 +1897,11 @@ namespace Myshipping.Application }); } #endregion + + if(resultInfo.LevelTree != null && resultInfo.LevelTree.Count > 0) + { + resultInfo.LevelTree = resultInfo.LevelTree.OrderBy(x => x.SortNo).ToList(); + } } catch (Exception ex) {