chenhaozhe
2026-04-12 db63a35fcc7a49cbb0e5f28f1d2cc355fa19fe13
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");
                }