From 88438a06e74e800f679ca846bd7e1a0cf3068d37 Mon Sep 17 00:00:00 2001 From: "wanling040@gmail.com" Date: Thu, 28 Jul 2022 09:26:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E5=84=B2=E5=AD=98=E5=BA=AB-?= =?UTF-8?q?=E5=BB=B6=E9=95=B7=E6=9F=A5=E8=A9=A2=E8=A7=92=E8=89=B2=E6=AC=8A?= =?UTF-8?q?=E9=99=90=E7=9A=84=E6=99=82=E9=96=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Repository/Implement/RoleRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SolarPower/Repository/Implement/RoleRepository.cs b/SolarPower/Repository/Implement/RoleRepository.cs index ce59bfb..33fd258 100644 --- a/SolarPower/Repository/Implement/RoleRepository.cs +++ b/SolarPower/Repository/Implement/RoleRepository.cs @@ -64,7 +64,7 @@ namespace SolarPower.Repository.Implement LEFT JOIN auth_page ap ON ra.AuthCode = ap.AuthCode WHERE ra.Id = @Id"; - result.Auths = conn.Query(sql_auth, new { Id = id }).ToList(); + result.Auths = conn.Query(sql_auth, new { Id = id }, commandTimeout : 300).ToList(); } catch (Exception exception) {