From 129879f45b1b59f8e1b26c766a80d50f371be385 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 08 九月 2023 18:21:56 +0800
Subject: [PATCH] 人员信息导入

---
 VueWebCoreApi/DLL/DAL/LoginDAL.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/VueWebCoreApi/DLL/DAL/LoginDAL.cs b/VueWebCoreApi/DLL/DAL/LoginDAL.cs
index 330b9c1..666a512 100644
--- a/VueWebCoreApi/DLL/DAL/LoginDAL.cs
+++ b/VueWebCoreApi/DLL/DAL/LoginDAL.cs
@@ -172,7 +172,7 @@
                         string codeString = string.Join(",", menuCodes);
                         //鏌ヨ鑿滃崟鏁版嵁
                         sql = @"select menucode,menuname,menu_seq,imgurl,'0' as flag,parent_id,is_show    
-                                from TMenu where Type=@usertype order by menu_seq";
+                                from TMenu where is_show='Y' and Type=@usertype order by menu_seq";
                         dynamicParams.Add("@usertype", usertype);
                         var data0 = DapperHelper.selectdata(sql, dynamicParams);
                         if (data0.Rows.Count > 0)
@@ -267,7 +267,7 @@
                         string codeString = string.Join(",", menuCodes);
                         //鏌ヨ鑿滃崟鏁版嵁
                         sql = @"select menucode,menuname,menu_seq,imgurl,'0' as flag,parent_id,is_show   
-                                from TMenu where Type=@usertype order by menu_seq";
+                                from TMenu where is_show='Y' and Type=@usertype order by menu_seq";
                         dynamicParams.Add("@usertype", usertype);
                         var data0 = DapperHelper.selectdata(sql, dynamicParams);
                         if (data0.Rows.Count > 0)

--
Gitblit v1.9.3