chenhaozhe
2 天以前 8a29c0f8babf1f9e2d3c21c344bce4180d5f20a5
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)
                {