Update nav qurey

This commit is contained in:
sunkaixuan 2024-05-20 15:08:12 +08:00
parent ab17645a90
commit 3a3a5186bb

View File

@ -772,6 +772,10 @@ namespace SqlSugar
var leftName = item.Key;
if (anyParent)
{
if (rightValue == null)
{
rightValue = UtilMethods.GetDefaultValue(rightColumnInfo.PropertyInfo.PropertyType);
}
rightValue = rightValue.GetType().GetProperty(item.Value.Name).GetValue(rightValue);
}
//// var rightColumn=col