From e3f218a023f0625f415a1526b278636c3e39aa4f Mon Sep 17 00:00:00 2001 From: llj <132905093+newwwwwwtree@users.noreply.github.com> Date: 星期一, 18 八月 2025 12:59:32 +0800 Subject: [PATCH] 1 --- WebAPI/Controllers/BaseSet/Gy_DepartmentController.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_DepartmentController.cs b/WebAPI/Controllers/BaseSet/Gy_DepartmentController.cs index 1a7a3a9..bb1f158 100644 --- a/WebAPI/Controllers/BaseSet/Gy_DepartmentController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_DepartmentController.cs @@ -46,7 +46,8 @@ objJsonResult.data = null; return objJsonResult; } - string sql1 = string.Format(@"select * from h_v_IF_DepartmentList where 缁勭粐鍚嶇О='" + Organization + "'"); + //string sql1 = string.Format(@"select * from h_v_IF_DepartmentList where 缁勭粐鍚嶇О='" + Organization + "'"); + string sql1 = string.Format(@"select * from h_v_IF_DepartmentList where 1=1 "); if (sWhere == null || sWhere.Equals("")) { ds = oCN.RunProcReturn(sql1 + sWhere + "order by 閮ㄩ棬浠g爜", "h_v_IF_DepartmentList"); -- Gitblit v1.9.1