diff --git a/solarApp/Service/getInvSvc.cs b/solarApp/Service/getInvSvc.cs index 55527ad..b4a1d30 100644 --- a/solarApp/Service/getInvSvc.cs +++ b/solarApp/Service/getInvSvc.cs @@ -201,7 +201,7 @@ where crdDate between '" + date1 + "' and '" + date2 + "' and a.inverterid = '" group by powerstationid )c on a.PowerStationId = c.PowerStationId )x "; - List ds = conn.Query(sql).AsList(); + List ds = conn.Query(sql, commandTimeout: 300).AsList(); conn.Close(); return ds; }