fix 已知数据查询

This commit is contained in:
2024-07-05 15:06:26 +08:00
parent e9e72b0af7
commit c178499470
3 changed files with 23 additions and 2 deletions

View File

@@ -86,6 +86,11 @@ public class DevicePageResponse
/// </summary>
public bool Enable { get; set; }
/// <summary>
/// 厂区
/// </summary>
public string Factory { get; set; }
/// <summary>
/// 是否作为考勤

View File

@@ -46,7 +46,8 @@ public class DeviceService : IDeviceService
Type = d.Type,
BusinessPlaceCode = bp.Code,
BusinessPlaceName = bp.Name,
LastHeartbeatTime = dr.LastHeartbeatTime
LastHeartbeatTime = dr.LastHeartbeatTime,
Factory = d.TenantId
}, true)
.ToPageListAsync(request);