Uat_Study
{872297557@qq.com} 2022-12-07 18:19:08 +08:00
parent 0f5d1463bc
commit a4b2416344
1 changed files with 1 additions and 1 deletions

View File

@ -783,7 +783,7 @@ namespace IRaCIS.Core.Application.Service
var jsonObject = JObject.Parse(arraysItem.ToString());
try
{
if (jsonObject["DictionaryCode"].ToString() != string.Empty)
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