Uat_Study
he 2022-12-30 17:38:46 +08:00
parent 28cab4bd11
commit 7c8efc6139
1 changed files with 10 additions and 0 deletions

View File

@ -735,6 +735,16 @@ namespace IRaCIS.Core.Application.Service
} }
list = list.GroupBy(x => new { x.Key }, (key, lst) => new
{
DataType = lst.Max(x => x.DataType),
TableConfigJsonStr = lst.Max(x => x.TableConfigJsonStr),
Key = key.Key,
Code = lst.Max(x => x.Code),
Type = lst.Max(x => x.Type),
}).ToList();
var jsonDataDic = JsonConvert.DeserializeObject<IDictionary<string, object>>(jsonStr); var jsonDataDic = JsonConvert.DeserializeObject<IDictionary<string, object>>(jsonStr);
foreach (var item in list) foreach (var item in list)
{ {