From 8c1002afe5d82010cbabdbc75201fab8b9bb3eea Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期四, 26 十二月 2024 21:25:30 +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