Преглед на файлове

statistic the merged particle while calculating the GB grid result.

GSP преди 1 месец
родител
ревизия
1310904a30
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);