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