|
@@ -402,7 +402,7 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
|
|
|
/// <returns></returns>
|
|
|
public int GetCountOfPsrticles(string condition)
|
|
|
{
|
|
|
- string sqliteString = "select count(*) from INcAData " + condition;
|
|
|
+ string sqliteString = "select count(*) from INcAData where 1=1 " + condition;
|
|
|
DataTable DT = dbHelper.ExecuteQuery(sqliteString);
|
|
|
int Count = int.Parse(DT.Rows[0][0].ToString());
|
|
|
return Count;
|