From d19948c3762481d6e1698d01509700afb464d0b9 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Tue, 11 Jun 2024 10:55:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs b/Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs index 3059f973..f0e54582 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs @@ -328,7 +328,8 @@ public class Ghre_CourseServices : BaseServices { - x.ExamPaperIds = JsonHelper.JsonToObj>(x.ExamPaperId); + if (!string.IsNullOrWhiteSpace(x.ExamPaperId)) + x.ExamPaperIds = JsonHelper.JsonToObj>(x.ExamPaperId); }); result.result.DT_TableDataT1 = list;