Browse Source

修复BUG夹杂物比表导出错误的问题

zhangjiaxin 7 months ago
parent
commit
503d43d228
1 changed files with 2 additions and 1 deletions
  1. 2 1
      OTSIncAReportApp/1-UI/OTSReportExport/Template/DataTemplate.cs

+ 2 - 1
OTSIncAReportApp/1-UI/OTSReportExport/Template/DataTemplate.cs

@@ -1444,7 +1444,8 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
             XRTable xRTable = add_IncaDorm();
 
             int ls = 0;
-            DataTable REORDER_data = REORDER(a_data, "subdivision");
+            //DataTable REORDER_data = REORDER(a_data, "subdivision");
+            DataTable REORDER_data = a_data.Copy();
             for (int i = 0; i < REORDER_data.Rows.Count; i++)
             {
                 if (REORDER_data.Rows[i]["subdivision"].ToString() == "" || REORDER_data.Rows[i]["subdivision"].ToString() == null)