Przeglądaj źródła

报告颗粒列表模块面积部分计算BUG修正

zhangjiaxin 2 miesięcy temu
rodzic
commit
bdf7594f8c

+ 4 - 4
OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

@@ -224,10 +224,10 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
                 sqlp = sqlp + " and '" + fieldAndPartic + "' like ('%,'||fieldid||'-'||particleid||',%')";
             }
             DataTable DT = dbHelper.ExecuteDataTable(sqlp, null);
-            for (int i = 0; i < DT.Rows.Count; i++)
-            {
-                DT.Rows[i]["Area"] = Math.Sqrt((double)DT.Rows[i]["Area"] / Math.PI) * 2;
-            }
+            //for (int i = 0; i < DT.Rows.Count; i++)
+            //{
+            //    DT.Rows[i]["Area"] = Math.Sqrt((double)DT.Rows[i]["Area"] / Math.PI) * 2;
+            //}
 
 
             return DT;