mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update dto
This commit is contained in:
@@ -813,6 +813,10 @@ namespace SqlSugar
|
||||
var changeValue = UtilMethods.ChangeType2(0, propertyInfo.PropertyType);
|
||||
propertyInfo.SetValue(addItem, changeValue);
|
||||
}
|
||||
else if (kv.Value == DBNull.Value)
|
||||
{
|
||||
propertyInfo.SetValue(addItem,null);
|
||||
}
|
||||
else
|
||||
{
|
||||
propertyInfo.SetValue(addItem, kv.Value);
|
||||
|
Reference in New Issue
Block a user