1
dengjunjie
2025-02-18 b2ad000e07e1c87d3561b5aa94fdc88c779872f0
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/CodeAnalysisHelper.cs
@@ -89,7 +89,7 @@
        {
            Type type = typeof(T);
            List<T> list = new List<T>();
            try
            {
                AnalysisRuleAttribute? analysisRule = type.GetCustomAttribute<AnalysisRuleAttribute>();
@@ -125,7 +125,7 @@
                                        AnalysisItemRuleAttribute? analysisItemRule = propertyInfo.GetCustomAttribute<AnalysisItemRuleAttribute>();
                                        if (analysisItemRule != null)
                                        {
                                            if(analysisItemRule.AnalysisFormaType == AnalysisFormatType.BD)
                                            if (analysisItemRule.AnalysisFormaType == AnalysisFormatType.BD)
                                            {
                                                propertyInfo.SetValue(result, code.ChangeType(propertyInfo.PropertyType));
                                            }
@@ -135,7 +135,7 @@
                                                if (index != -1)
                                                    propertyInfo.SetValue(result, codes[index].ChangeType(propertyInfo.PropertyType));
                                            }
                                        }
                                    }
                                }