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
@@ -195,5 +195,24 @@ public class ReadingQuestionSystem : BaseAddAuditEntity
public ExportIdentification? ExportIdentification { get; set; }
[Comment("导出结果")]
public ExportResult? ExportResult { get; set; }
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>();
}
}
}
}