Bug: OwnsOne

This commit is contained in:
sunkaixuan 2024-08-14 20:22:53 +08:00
parent c71a1ac798
commit fecc6e9f0a

View File

@ -317,7 +317,7 @@ namespace SqlSugar
{
column.DbColumnName = column.PropertyName;
}
if (isMapping)
if (isMapping&&column.ForOwnsOnePropertyInfo==null)
{
columnInfo.DbColumnName = GetDbColumnName(column.PropertyName);
}