From e9880d27955ffc17915c9125b11c9d8b12027c2d Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期三, 10 七月 2024 10:54:26 +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