chenhaozhe
2025-11-04 c864d6da7e40046d7d4f9a45f007f7b3dcd5cf78
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");
                }