修改一版
This commit is contained in:
@@ -37,7 +37,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
/// </summary>
|
||||
public bool? IsPublicPage { get; set; } = false;
|
||||
|
||||
public int PageShowOrder { get; set; }
|
||||
public int? PageShowOrder { get; set; }
|
||||
|
||||
public List<TrialReadQuestionData> Childrens { get; set; }
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ namespace IRaCIS.Application.Services
|
||||
/// <param name="item"></param>
|
||||
/// <param name="questionlists"></param>
|
||||
/// <param name="tableQuestionLists"></param>
|
||||
public void FindChildQuestion(TrialReadQuestionData item, List<TrialReadQuestionData> questionlists, List<ReadingTableQuestionTrial> tableQuestionLists,List<ReadingTableQuestionAnswerInfo> tableAnswers)
|
||||
private void FindChildQuestion(TrialReadQuestionData item, List<TrialReadQuestionData> questionlists, List<ReadingTableQuestionTrial> tableQuestionLists,List<ReadingTableQuestionAnswerInfo> tableAnswers)
|
||||
{
|
||||
item.Childrens = questionlists.Where(x => x.ParentId == item.Id || (item.Type == "group" && x.Type != "group" && x.ParentId == null && x.GroupName == item.GroupName)).ToList();
|
||||
item.TableQuestions = new TrialReadTableQuestion();
|
||||
|
||||
Reference in New Issue
Block a user