Compare commits

..

No commits in common. "c1badc1603c25fc83966cb754009cf57fb387244" and "a28e1b371f13e3deac58340442843b3f6fcca000" have entirely different histories.

2 changed files with 2 additions and 6 deletions

@ -1 +1 @@
Subproject commit 71886c9c2812c1ea99d4d720aa057f7db5711ca6 Subproject commit 7ec0ac3eeb5d6f626d9a70b0ac3921249cebd663

View File

@ -3,8 +3,6 @@ using JiShe.ServicePro.Commons;
using JiShe.ServicePro.Core; using JiShe.ServicePro.Core;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel;
using static FreeSql.Internal.GlobalFilter;
namespace JiShe.IoT.CommonServices namespace JiShe.IoT.CommonServices
{ {
@ -23,10 +21,8 @@ namespace JiShe.IoT.CommonServices
foreach (var typeInfoItem in typeList) foreach (var typeInfoItem in typeList)
{ {
SelectResultAttribute[] selectResultAttribute =
(SelectResultAttribute[])typeInfoItem.GetCustomAttributes(typeof(SelectResultAttribute), false);
_selectListType.TryAdd(typeInfoItem.Name, CommonHelper.GetTypeAttributeList(typeInfoItem, selectResultAttribute[0].IsGetPropertie)); _selectListType.TryAdd(typeInfoItem.Name, CommonHelper.GetEnumAttributeList(typeInfoItem));
} }
} }