wankeda
2025-03-05 7086c88c6c080aa9ff15664c5c97aee7bbcdc55b
代码管理/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;
        }