代码管理/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; }