Browse Source

国标导出部分数据不对bug修复完成

zhangjiaxin 2 years ago
parent
commit
5b6baa62f1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      OTSIncAReportApp/ReportTemplate/GBReport.cs

+ 2 - 2
OTSIncAReportApp/ReportTemplate/GBReport.cs

@@ -86,9 +86,9 @@ namespace OTSIncAReportApp.ReportTemplate
                 Template_Rows_A_Class.BackColor = Color.DarkGray;
                 Template.Rows.Add(Template_Rows_A_Class);
                 Template.Rows.Add(GB_Class_dataRow(HeaderData, 0));
-                for (int i = 0; i < GB_List[0].Rows.Count; i++)
+                for (int i = 0; i < GB_List[a].Rows.Count; i++)
                 {
-                    Template.Rows.Add(GB_Class_dataRow(GB_List[0], i));
+                    Template.Rows.Add(GB_Class_dataRow(GB_List[a], i));
                 }
             }