修改
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user