From e75362cc5d11d900068a26232eb97ebd30203d48 Mon Sep 17 00:00:00 2001
From: chengsc <Demo@DESKTOP-CPA90BF>
Date: 星期日, 21 七月 2024 10:00:15 +0800
Subject: [PATCH] Merge branch 'master' into csc
---
Wms/WMS.BLL/SysServer/RBACServer.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Wms/WMS.BLL/SysServer/RBACServer.cs b/Wms/WMS.BLL/SysServer/RBACServer.cs
index 9b1ed93..c5694d4 100644
--- a/Wms/WMS.BLL/SysServer/RBACServer.cs
+++ b/Wms/WMS.BLL/SysServer/RBACServer.cs
@@ -66,6 +66,7 @@
.LeftJoin<SysRoles>((a, b) => a.RoleNo == b.RoleNo)
.LeftJoin<SysFunctionMenu>((a, b, c) => a.MenuNo == c.MenuNo)
.Where((a, b, c) => a.Id == id && a.IsDel == "0")
+ .OrderBy((a, b, c) => SqlFunc.ToInt32(a.MenuNo)).OrderBy((a, b, c) => c.Ord)
.Select<RoleRightDto>()
.ToListAsync();
}
--
Gitblit v1.8.0