diff --git a/YD_YiLu.Commons/Dto/DeviceSync/DeviceSyncRecordAppDto.cs b/YD_YiLu.Commons/Dto/DeviceSync/DeviceSyncRecordAppDto.cs index a52eab3..f8eb352 100644 --- a/YD_YiLu.Commons/Dto/DeviceSync/DeviceSyncRecordAppDto.cs +++ b/YD_YiLu.Commons/Dto/DeviceSync/DeviceSyncRecordAppDto.cs @@ -30,6 +30,7 @@ namespace YD_YiLu.Commons.Dto.DeviceSync public int Gender { get; set; } public string FacePictureUrl { get; set; } public string Score { get; set; } + public string ShowResult { get; set; } public string StartTime { get; set; } public string EndTime { get; set; } public int CourseId { get; set; } diff --git a/YD_YiLu/Services/Impl/DeviceSyncService.cs b/YD_YiLu/Services/Impl/DeviceSyncService.cs index 72886f9..a6999d9 100644 --- a/YD_YiLu/Services/Impl/DeviceSyncService.cs +++ b/YD_YiLu/Services/Impl/DeviceSyncService.cs @@ -885,6 +885,7 @@ namespace YD_YiLu.Api.Services.Impl FacePictureUrl = x.s.Photo, Score = x.t.Score.HasValue ? x.t.Score.Value.ToString("0.##") : "0", + ShowResult = x.t.Score.HasValue ? x.t.Score.Value.ToString("0.##") : "0", StartTime = x.t.StartTime.ToString("yyyy-MM-dd HH:mm:ss"), EndTime = x.t.EndTime.ToString("yyyy-MM-dd HH:mm:ss"),