1
zrg
4 天以前 41e5436d8a03b7e3f3412dad1e4b040043ba7b3f
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)
                {