This commit is contained in:
he
2024-10-15 10:29:31 +08:00
parent 2208e1dbe5
commit cb4296396f
4 changed files with 96 additions and 16 deletions
@@ -233,6 +233,8 @@ namespace IRaCIS.Core.Application.Service
{
indto.ParentTriggerValue = string.Join(',', indto.ParentTriggerValueList);
indto.RelevanceValue = string.Join(',', indto.RelevanceValueList);
indto.ExportResultStr = JsonConvert.SerializeObject(indto.ExportResult);
indto.HighlightAnswer = JsonConvert.SerializeObject(indto.HighlightAnswerList);
if (indto.Id != null)
{
@@ -398,6 +400,7 @@ namespace IRaCIS.Core.Application.Service
throw new BusinessValidationFailedException(_localizer["ReadingQuestion_IdDup"]);
}
indto.ParentTriggerValue = string.Join(',', indto.ParentTriggerValueList);
indto.ExportResultStr = JsonConvert.SerializeObject(indto.ExportResult);
indto.RelevanceValue = string.Join(',', indto.RelevanceValueList);
indto.HighlightAnswer = JsonConvert.SerializeObject(indto.HighlightAnswerList);