This commit is contained in:
sunkaixuan
2024-01-30 23:50:33 +08:00
parent 8fc5f49d68
commit 657c1cd064

View File

@@ -323,7 +323,7 @@ namespace SqlSugar
column.PropertyName = property.Name;
column.PropertyInfo = property;
column.UnderType = UtilMethods.GetUnderType(column.PropertyInfo.PropertyType);
if (column.IsOwnsOne)
if (sugarColumn?.IsOwnsOne==true)
{
SetValueObjectColumns(result, property, column);
}