This commit is contained in:
sunkaixuan
2024-01-30 23:45:37 +08:00
parent 0720661dc5
commit 8fc5f49d68

View File

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