分组修改
							parent
							
								
									56cba570bf
								
							
						
					
					
						commit
						e19c03412d
					
				| 
						 | 
				
			
			@ -2404,7 +2404,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
 | 
			
		|||
 | 
			
		||||
        public Guid Id { get; set; }
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
		/// <summary>
 | 
			
		||||
		/// 分组ID
 | 
			
		||||
		/// </summary>
 | 
			
		||||
		public Guid? GroupId { get; set; }
 | 
			
		||||
 | 
			
		||||
		/// <summary>
 | 
			
		||||
		/// 系统标准Id
 | 
			
		||||
		/// </summary>
 | 
			
		||||
		public Guid ReadingQuestionCriterionSystemId { get; set; }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -308,7 +308,7 @@ namespace IRaCIS.Application.Services
 | 
			
		|||
        /// <param name="tableQuestions"></param>
 | 
			
		||||
        public void FindSystemChildQuestion(GetSystemReadingQuestionOutDto item, List<GetSystemReadingQuestionOutDto> questionlists, List<TableQuestionDataInfo> tableQuestions)
 | 
			
		||||
        {
 | 
			
		||||
            item.Childrens = questionlists.Where(x => x.ParentId == item.Id || (item.Type == ReadingQestionType.Group && x.Type != ReadingQestionType.Group && x.ParentId == null && x.GroupName == item.GroupName)).ToList();
 | 
			
		||||
            item.Childrens = questionlists.Where(x => x.ParentId == item.Id || (item.Type == ReadingQestionType.Group && x.Type != ReadingQestionType.Group && x.ParentId == null && x.GroupId == item.Id)).ToList();
 | 
			
		||||
 | 
			
		||||
            item.Childrens.AddRange(tableQuestions.Where(x => x.ReadingQuestionId == item.Id).Select(x => new GetSystemReadingQuestionOutDto
 | 
			
		||||
            {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue