From aa8edd8e8acf3593e6ecf3728469e39528d2812b Mon Sep 17 00:00:00 2001 From: cesar liu Date: Thu, 19 May 2022 22:06:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=A0=B1=E8=A1=A8=E6=AA=A2=E6=A0=B8?= =?UTF-8?q?=E6=9F=A5=E8=A9=A2=20=E5=BB=B6=E9=95=B7=E6=99=82=E9=96=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- solarApp/Service/getInvSvc.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }