1
wangxinhui
2024-12-28 14e5f14b5229c0d4bb25fb50a18ec633bd8b3950
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/ObjectExtension.cs
@@ -43,8 +43,15 @@
                {
                    continue;
                }
                if (value != null && sugarColumn != null && !sugarColumn.IsNullable)
                //if (value != null && sugarColumn != null && !sugarColumn.IsNullable)
                try
                {
                    property.SetValue(model, value.ChangeType(property.PropertyType));
                }
                catch
                {
                }
            }
            return model;
        }