فهرست منبع

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

zhangjiaxin 2 سال پیش
والد
کامیت
5b6baa62f1
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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));
                 }
             }