17 lines
493 B
C#
17 lines
493 B
C#
using Dlhis.Basic.Device.Request;
|
|
using Dlhis.Entity.Sys.Enums;
|
|
|
|
namespace Dlhis.Basic.Device.Services;
|
|
|
|
public interface IDevicePermissionService : IScopeDependency
|
|
{
|
|
/// <summary>
|
|
/// 保存设备权限
|
|
/// </summary>
|
|
/// <param name="reuqests"></param>
|
|
/// <returns></returns>
|
|
Task AssignmentAsync(List<DevicePermissionSaveReuqest> reuqests);
|
|
|
|
Task<List<Guid>> GetAssignmentsAsync(string userId, DeviceAssignmentTypeEnumType uniqueType, Guid? uniqueValue);
|
|
}
|