From 07c5933b0645f2431cab8b73dd7a383b7f071862 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Fri, 17 Jul 2026 17:19:35 +0800 Subject: [PATCH] public string Score { get; set; } --- YD_YiLu.Commons/Dto/DeviceSync/DeviceSyncRecordAppDto.cs | 1 + YD_YiLu/Services/Impl/DeviceSyncService.cs | 1 + 2 files changed, 2 insertions(+) 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"),