chenhaozhe
2026-04-09 af78744eacb1e41ef2ba7a2e36cde3f915100ba2
WebAPI/Controllers/ReportPlatFormController.cs
@@ -332,7 +332,7 @@
                ds = oCN.RunProcReturn("select * from h_v_Gy_UserButton where 用户名称='" + user+ "' order by 按钮排序", "h_v_Gy_UserButton");
                if (ds==null && ds.Tables[0].Rows.Count <= 0)
                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");
                }