1
zrg
2025-08-07 c4b43a81ad6e6f4887b578e5421cf97b2beddb13
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");