dengjunjie
2025-01-17 df97e66f99cf081abf212a8d97fc32afe9c6e7a7
代码管理/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;
        }