mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Synchronization code
This commit is contained in:
parent
73bda90171
commit
196038597f
@ -404,7 +404,7 @@ namespace SqlSugar
|
||||
{
|
||||
FieldName =item,
|
||||
ConditionalType = ConditionalType.Equal,
|
||||
FieldValue = model[item].ObjToString(),
|
||||
FieldValue = model[item].ObjToStringNoTrim(),
|
||||
CSharpTypeName = model[item]==null?null : model[item].GetType().Name
|
||||
}));
|
||||
i++;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user