fix 考勤记录

This commit is contained in:
cheche
2024-01-30 17:40:31 +08:00
parent bf901df7d6
commit 29944fb5d3

View File

@@ -52,7 +52,6 @@ public class DeviceTaskAssignmentService : IDeviceTaskAssignmentService
//获取启用的功能设备
var devices = await _dbContext.Queryable<DeviceEntity>()
.Where(x => x.Funcs.Contains(request.type))
//.Where(x=>x.UniqueNo == "717840555")
.Select(x => x.UniqueNo)
.ToListAsync();
devices.ThrowIfNull($"{request.type.GetDescription}功能机器为空");