瀏覽代碼

Remove invalid and unclassified spectral classification information from the modified export module

zhangjiaxin 1 周之前
父節點
當前提交
e4e3b69598
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

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

@@ -384,7 +384,7 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
 		/// <returns></returns>
 		public DataTable GetAreaByAllIncA(string fieldAndPartic)
         {
-            string sqlp = @"select TypeId,TypeName,GroupId,sum(area) as ar,count(1) as con ,GroupName from INcAData where typeid !=-1 and typeid !=4";
+            string sqlp = @"select TypeId,TypeName,GroupId,sum(area) as ar,count(1) as con ,GroupName from INcAData where typeid !=-1 and typeid !=4 and ParticleId > -1";
             if (fieldAndPartic != "")
             {
                 sqlp = sqlp + " and '" + fieldAndPartic + "' like ('%,'||fieldid||'-'||particleid||',%')";