helongyang
2025-03-21 3a1a5e58e9ac1b4a8449601db8c6608897877746
代码管理/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;
        }