yusijie
2025-09-25 cead7685a17e62c07da9f459e7a245c54b2d3a49
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");