feat 获取不在设备中的人员

This commit is contained in:
2025-12-30 17:20:35 +08:00
parent b23bdc3e46
commit e71e7cd7fc
3 changed files with 38 additions and 0 deletions

View File

@@ -155,6 +155,14 @@ public class DevicePermissionsController : ControllerBase
return await _devicePermissionService.GetDeviceExceptUsersAsync(deviceUniqueNo);
}
[HttpGet("notInDeviceUsers")]
[IgnoreTenant]
public async Task<List<string>> GetDeviceNotInUsersAsync(string deviceUniqueNo)
{
return await _devicePermissionService.GetDeviceNotInUsersAsync(deviceUniqueNo);
}
[HttpPost("removeExceptUsers")]
[Transactional]
[IgnoreTenant]