Uat_Study
			
			
		
		
							parent
							
								
									d758d27abd
								
							
						
					
					
						commit
						b8f7427578
					
				| 
						 | 
				
			
			@ -783,14 +783,17 @@ namespace IRaCIS.Core.Application.Service
 | 
			
		|||
                                var jsonObject = JObject.Parse(arraysItem.ToString());
 | 
			
		||||
                                try
 | 
			
		||||
                                {
 | 
			
		||||
                                  
 | 
			
		||||
                                    if (jsonObject["DictionaryCode"].ToString() != string.Empty)
 | 
			
		||||
                                    { 
 | 
			
		||||
                                   
 | 
			
		||||
                                    jsonObject[item.Code]= await _dictionaryRepository.Where(x => x.Code == jsonObject["DictionaryCode"].ToString()).Join(_dictionaryRepository.Where(x => x.Code == jsonObject[item.Code].ToString()), a => a.Id, b => b.ParentId, (a, b) => new
 | 
			
		||||
                                    {
 | 
			
		||||
                                        value = b.ValueCN
 | 
			
		||||
                                    }).Select(x => x.value).FirstOrDefaultAsync();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                                    }
 | 
			
		||||
                                    jsonList.Add(jsonObject);
 | 
			
		||||
 | 
			
		||||
                                   
 | 
			
		||||
                                }
 | 
			
		||||
                                catch (Exception)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue