From f2e2c131b1db5ac84e214f2b6dd1a27b816a41cd Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期六, 22 二月 2025 13:41:53 +0800
Subject: [PATCH] 雅达-修改返回类型并增加属性

---
 Tiger.Business/SYS/Biz.SYS_MENU.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Tiger.Business/SYS/Biz.SYS_MENU.cs b/Tiger.Business/SYS/Biz.SYS_MENU.cs
index dc0e77f..85b388d 100644
--- a/Tiger.Business/SYS/Biz.SYS_MENU.cs
+++ b/Tiger.Business/SYS/Biz.SYS_MENU.cs
@@ -126,7 +126,8 @@
             SYS_MENU func = null;
             if (!string.IsNullOrEmpty(menuName))
             {
-                func = Biz.Db.Queryable<SYS_MENU>().Where(x => x.FUNC_NAME == menuName).First();
+                string name = menuName.StartsWith("BS")?"BS": menuName;
+                func = Biz.Db.Queryable<SYS_MENU>().Where(x => x.FUNC_NAME == name).First();
             }
             if (func != null)
             {

--
Gitblit v1.9.3