mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-17 01:46:18 +08:00
Update exp to sql
This commit is contained in:
parent
7ba426db0a
commit
084fe4c00e
@ -143,6 +143,10 @@ namespace SqlSugar
|
||||
{
|
||||
var leftString = GetNewExpressionValue(expression.Left);
|
||||
var RightString = GetNewExpressionValue(expression.Right);
|
||||
if (leftString == null && expression.Left is ParameterExpression parameterExpression)
|
||||
{
|
||||
leftString = this.Context.SqlParameterKeyWord+"MethodConst1";
|
||||
}
|
||||
var joinString = this.Context.DbMehtods.MergeString(leftString, RightString);
|
||||
if (this.Context is KdbndpExpressionContext&&this.Context?.SugarContext?.Context?.CurrentConnectionConfig?.MoreSettings?.DatabaseModel==DbType.SqlServer)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user