mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-09 10:55:02 +08:00
Update mongodb bug
This commit is contained in:
@@ -116,6 +116,13 @@ namespace SqlSugar.MongoDb
|
|||||||
rightValue = ObjectId.Parse(str);
|
rightValue = ObjectId.Parse(str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (rightValue!=null&&rightValue.IsString&&UtilMethods.IsValidObjectId(rightValue.AsString))
|
||||||
|
{
|
||||||
|
rightValue = ObjectId.Parse(rightValue.AsString);
|
||||||
|
}
|
||||||
|
}
|
||||||
return rightValue;
|
return rightValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user