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 部门代码", "h_v_IF_DepartmentList");