fix open assign
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user