fix 逻辑增加判断

This commit is contained in:
2025-03-17 13:53:10 +08:00
parent e22672751c
commit ab2a36e708
2 changed files with 8 additions and 9 deletions

View File

@@ -487,7 +487,7 @@ public class DeviceUploadLogService : IDeviceUploadLogService
public class WorkGridInfo
{
public bool IsError => !PeriodType.HasValue;
public bool IsError => TimeSetting != null && PeriodType.HasValue == false;
public WorkGridInfoDetail WorkGrid { get; set; }
public WorkGridTimePeriodEnumType? PeriodType { get; set; }
public object TimeSetting { get; set; }