1. 修改電站管理權限
2. 修改15min背景執行
This commit is contained in:
parent
c3492a0a9f
commit
e6617c09a7
@ -162,7 +162,7 @@ namespace SolarPower.Quartz.Jobs
|
||||
await powerStationRepository.UpdateInvStatus(update_invStatusErr.Key, null, update_invStatusErr.Select(x => x.InverterId).ToList(), 2);
|
||||
}
|
||||
|
||||
logger.LogError("【CalcInverter15minJob】檢測完成逆變器狀態");
|
||||
logger.LogInformation("【CalcInverter15minJob】檢測完成逆變器狀態");
|
||||
}
|
||||
catch(Exception exception)
|
||||
{
|
||||
|
||||
@ -348,7 +348,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
}
|
||||
@if (ViewBag.myUser.Role.Layer == (int)RoleLayerEnum.PlatformAdmin || ViewBag.auths.Contains("PowerStation"))
|
||||
@if (ViewBag.myUser.Role.Layer == (int)RoleLayerEnum.PlatformAdmin || ViewBag.auths.Contains("PowerStationManager"))
|
||||
{
|
||||
<li class="@(ViewData["MainNum"] == "8" ? "active open" : "")">
|
||||
<a href="#" title="電站管理" data-filter-tags="category">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user