|
@@ -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||',%')";
|