修改
continuous-integration/drone/push Build is running Details

IRC_NewDev
he 2024-10-22 17:45:33 +08:00
parent 3c49192360
commit cce4872341
2 changed files with 2 additions and 36 deletions

View File

@ -465,23 +465,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string ExportResultStr { get; set; } = "[]";
[NotMapped]
public List<ExportResult> ExportResult
{
get
{
try
{
var result = JsonConvert.DeserializeObject<List<ExportResult>>(this.ExportResultStr);
return result == null ? new List<ExportResult>() : result;
}
catch (Exception)
{
return new List<ExportResult>();
}
}
}
public List<ExportResult> ExportResult { get; set; }
}
///<summary> ReadingTableQuestionSystemAddOrEdit 列表查询参数模型</summary>
@ -596,24 +580,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
[Comment("导出结果")]
public string ExportResultStr { get; set; } = "[]";
[NotMapped]
public List<ExportResult> ExportResult
{
get
{
try
{
var result = JsonConvert.DeserializeObject<List<ExportResult>>(this.ExportResultStr);
return result == null ? new List<ExportResult>() : result;
}
catch (Exception)
{
return new List<ExportResult>();
}
}
}
public List<ExportResult> ExportResult { get; set; }
public List<string> ParentTriggerValueList { get; set; } = new List<string>();

View File

@ -408,7 +408,6 @@ namespace IRaCIS.Core.Application.Service
{
indto.ParentTriggerValue = string.Join(',', indto.ParentTriggerValueList);
indto.RelevanceValue = string.Join(',', indto.RelevanceValueList);
indto.ExportResultStr = JsonConvert.SerializeObject(indto.ExportResult);
var entity = await _readingTableQuestionSystemRepository.InsertOrUpdateAsync(indto, true);