日報表檢核查詢 延長時間

This commit is contained in:
cesar liu 2022-05-19 22:06:14 +08:00
parent 702bed99c4
commit aa8edd8e8a

View File

@ -201,7 +201,7 @@ where crdDate between '" + date1 + "' and '" + date2 + "' and a.inverterid = '"
group by powerstationid
)c on a.PowerStationId = c.PowerStationId
)x ";
List<ck_inv_day> ds = conn.Query<ck_inv_day>(sql).AsList<ck_inv_day>();
List<ck_inv_day> ds = conn.Query<ck_inv_day>(sql, commandTimeout: 300).AsList<ck_inv_day>();
conn.Close();
return ds;
}