fix open assign

This commit is contained in:
2024-07-05 17:57:05 +08:00
parent 789564fc9e
commit 9507785be5

View File

@@ -170,10 +170,10 @@ public class DevicePermissionService : IDevicePermissionService
public async Task GenerateDeviceTasksAsync(Func<Task> func, List<string> userNos)
{
var tenantId = _currentUser.GetStringTenantId();
if (_currentUser.GetStringSubjectId() != "14")
{
throw new Exception("系统维护中,暂不可操作");
}
// if (_currentUser.GetStringSubjectId() != "14")
// {
// throw new Exception("系统维护中,暂不可操作");
// }
//获取所有人的权限
if (userNos.IsEmpty())