角色儲存庫-延長查詢角色權限的時間

This commit is contained in:
wanling040@gmail.com 2022-07-28 09:26:12 +08:00
parent 7ad987c899
commit 88438a06e7

View File

@ -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<string>(sql_auth, new { Id = id }).ToList();
result.Auths = conn.Query<string>(sql_auth, new { Id = id }, commandTimeout : 300).ToList();
}
catch (Exception exception)
{