修改
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
3c49192360
commit
cce4872341
|
@ -465,23 +465,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public string ExportResultStr { get; set; } = "[]";
|
public string ExportResultStr { get; set; } = "[]";
|
||||||
|
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
public List<ExportResult> ExportResult
|
public List<ExportResult> ExportResult { get; set; }
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
var result = JsonConvert.DeserializeObject<List<ExportResult>>(this.ExportResultStr);
|
|
||||||
return result == null ? new List<ExportResult>() : result;
|
|
||||||
}
|
|
||||||
catch (Exception)
|
|
||||||
{
|
|
||||||
|
|
||||||
return new List<ExportResult>();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///<summary> ReadingTableQuestionSystemAddOrEdit 列表查询参数模型</summary>
|
///<summary> ReadingTableQuestionSystemAddOrEdit 列表查询参数模型</summary>
|
||||||
|
@ -596,24 +580,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
[Comment("导出结果")]
|
[Comment("导出结果")]
|
||||||
public string ExportResultStr { get; set; } = "[]";
|
public string ExportResultStr { get; set; } = "[]";
|
||||||
|
|
||||||
[NotMapped]
|
public List<ExportResult> ExportResult { get; set; }
|
||||||
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<string> ParentTriggerValueList { get; set; } = new List<string>();
|
public List<string> ParentTriggerValueList { get; set; } = new List<string>();
|
||||||
|
|
|
@ -408,7 +408,6 @@ namespace IRaCIS.Core.Application.Service
|
||||||
{
|
{
|
||||||
indto.ParentTriggerValue = string.Join(',', indto.ParentTriggerValueList);
|
indto.ParentTriggerValue = string.Join(',', indto.ParentTriggerValueList);
|
||||||
indto.RelevanceValue = string.Join(',', indto.RelevanceValueList);
|
indto.RelevanceValue = string.Join(',', indto.RelevanceValueList);
|
||||||
|
|
||||||
indto.ExportResultStr = JsonConvert.SerializeObject(indto.ExportResult);
|
indto.ExportResultStr = JsonConvert.SerializeObject(indto.ExportResult);
|
||||||
var entity = await _readingTableQuestionSystemRepository.InsertOrUpdateAsync(indto, true);
|
var entity = await _readingTableQuestionSystemRepository.InsertOrUpdateAsync(indto, true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue