角色儲存庫-延長查詢角色權限的時間
This commit is contained in:
parent
7ad987c899
commit
88438a06e7
@ -64,7 +64,7 @@ namespace SolarPower.Repository.Implement
|
|||||||
LEFT JOIN auth_page ap ON ra.AuthCode = ap.AuthCode
|
LEFT JOIN auth_page ap ON ra.AuthCode = ap.AuthCode
|
||||||
WHERE ra.Id = @Id";
|
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)
|
catch (Exception exception)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user