From 982b21b945c3621e24c3e699e48a95a161bb192a Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期四, 11 七月 2024 11:12:52 +0800
Subject: [PATCH] 全局返回和异常处理

---
 Wms/WMS.BLL/SysServer/RoleRightServer.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Wms/WMS.BLL/SysServer/RoleRightServer.cs b/Wms/WMS.BLL/SysServer/RoleRightServer.cs
index c177d6b..4d56e4f 100644
--- a/Wms/WMS.BLL/SysServer/RoleRightServer.cs
+++ b/Wms/WMS.BLL/SysServer/RoleRightServer.cs
@@ -57,7 +57,7 @@
                             .LeftJoin<SysRoles>((a, b, c) => a.RoleNo == c.RoleNo)
                             .Where((a, b, c) => a.IsDel == "0" && b.IsDel == "0" && c.IsDel == "0")
                             .Where((a, b, c) => a.RoleNo == modUser.RoleNo)
-                            .OrderBy((a, b, c) => b.Ord)
+                            .OrderBy((a, b, c) => SqlFunc.ToInt32(a.MenuNo)).OrderBy((a, b, c) => b.Ord)
                             .Select<RoleRightDto>()
                             .ToListAsync();
         }

--
Gitblit v1.8.0