Browse Source

statistic the merged particle while calculating the GB grid result.

GSP 1 month ago
parent
commit
1310904a30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OTSCPP/OTSRptCalculate/DTL/IncADataDB.cpp

+ 1 - 1
OTSCPP/OTSRptCalculate/DTL/IncADataDB.cpp

@@ -250,7 +250,7 @@ namespace OTSSQLITE
 		}
 		
 		CString sSQLCommand;
-		sSQLCommand.Format(_T("SELECT * FROM \'%s\';"),
+		sSQLCommand.Format(_T("SELECT * FROM \'%s\' WHERE SubParticles is not 'IsSubParticle';"),
 			(LPCTSTR)tableInfoPtr->GetTableName());
 	
 		query = datastorePtr->QueryByCommand(sSQLCommand);