chenhaozhe
2025-08-26 b9ac90e91d4de079acf33f379674e4e448e6baf3
WebAPI/Controllers/ReportPlatFormController.cs
@@ -332,6 +332,11 @@
                ds = oCN.RunProcReturn("select * from h_v_Gy_UserButton where 用户名称='" + user+ "' order by 按钮排序", "h_v_Gy_UserButton");
                if (ds.Tables[0]==null || ds.Tables[0].Rows.Count <1)
                {
                    ds = oCN.RunProcReturn("select * from h_v_Gy_UserButton where 用户名称='admin' order by 按钮排序", "h_v_Gy_UserButton");
                }
                //添加列名
                foreach (DataColumn col in ds.Tables[0].Columns)
                {