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) {