chenhaozhe
2025-06-26 ae4902061bc8e34f341d55b85f28acdf24d3b9dc
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)
                {