chenhaozhe
2025-06-13 ac6868f8448c0ec2f6dd7b19cd1293341107659b
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)
                {