From e49734298d6286aa21995f38e624c13ccb4330b8 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Thu, 2 Jan 2025 16:13:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Ghrh/Ghrh_ResumeTemplatePreviewController.cs | 4 +++- Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs | 2 +- Tiobon.Core.Services/Ghrh/Ghrh_ResumeEduBGServices.cs | 2 +- Tiobon.Core.Services/Ghrh/Ghrh_ResumeHomeServices.cs | 2 +- Tiobon.Core.Services/Ghrh/Ghrh_ResumeLicenceServices.cs | 2 +- Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs | 6 +++--- Tiobon.Core.Services/Ghrh/Ghrh_ResumeTrainingServices.cs | 2 +- Tiobon.Core.Services/Ghrh/Ghrh_ResumeWorkExpServices.cs | 2 +- Tiobon.Core.Services/Ghrs/Ghrs_LangKeyServices.cs | 6 ++---- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeTemplatePreviewController.cs b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeTemplatePreviewController.cs index 702491e3..5b7b7247 100644 --- a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeTemplatePreviewController.cs +++ b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeTemplatePreviewController.cs @@ -304,8 +304,10 @@ END"; var value = entity.GetPropertyValue(x); if (x == "RemarkSz") { - if (value.ToString().IsNotEmptyOrNull()) + if (value != null) + { value = "
" + value.ToString().Replace("\n", "
") + "
"; + } dicts.Add(x, value); } diff --git a/Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs b/Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs index 0b88d758..e500cc0c 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs @@ -876,7 +876,7 @@ public class Ghre_CourseServices : BaseServices x.ParaDetailName == inOrOut).FirstOrDefault()?.ParaDetailNo ?? "In"; } - if (isOPen.IsNullOrEmpty() || isOPen == "否") + if (isOPen.IsNullOrEmpty()) isOPen = "是"; List courseClassId1 = [courseClassId]; diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeEduBGServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeEduBGServices.cs index f5c79c4b..b4f27c0a 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeEduBGServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeEduBGServices.cs @@ -177,7 +177,7 @@ public class Ghrh_ResumeEduBGServices : BaseServices /// Ghrs_LangKey (服务) @@ -19,7 +17,7 @@ public class Ghrs_LangKeyServices : BaseServices