ch
2022-07-31 cee2c78bdc4aa9f309b68bc489c97282c9b7cb65
WebAPI/Controllers/BaseSet/Gy_DepartmentController.cs
@@ -41,11 +41,11 @@
                string sql1 = string.Format(@"select * from h_v_IF_DepartmentList where 组织名称='" + Organization + "'");
                if (sWhere == null || sWhere.Equals(""))
                {
                    ds = oCN.RunProcReturn(sql1 + sWhere + "order by HItemID desc", "h_v_IF_DepartmentList");
                    ds = oCN.RunProcReturn(sql1 + sWhere + "order by 部门代码", "h_v_IF_DepartmentList");
                }
                else
                {
                    string sql = sql1 + sWhere + "order by HItemID desc";
                    string sql = sql1 + sWhere + "order by 部门代码 ";
                    ds = oCN.RunProcReturn(sql, "h_v_IF_DepartmentList");
                }
@@ -54,7 +54,6 @@
                objJsonResult.Message = "Sucess!";
                objJsonResult.data = ds.Tables[0];
                return objJsonResult;
            }
            catch (Exception e)
            {