mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 04:35:29 +08:00
Synchronization code
This commit is contained in:
parent
51cabc9544
commit
173f230da2
@ -89,7 +89,7 @@ namespace SqlSugar
|
||||
{
|
||||
this.Context.CurrentShortName = selfParameterName;
|
||||
}
|
||||
else if (this.Context.JoinIndex == 0)
|
||||
else if (this.Context.JoinIndex == 0 && this.Context.CurrentShortName != selfParameterName.TrimEnd('.'))
|
||||
result = result.Replace(selfParameterName, SubTools.GetSubReplace(this.Context));
|
||||
return result;
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ namespace SqlSugar
|
||||
{
|
||||
this.Context.CurrentShortName= selfParameterName.ObjToString().TrimEnd('.');
|
||||
}
|
||||
else if (this.Context.JoinIndex == 0)
|
||||
else if (this.Context.JoinIndex == 0&& this.Context.CurrentShortName!= selfParameterName.TrimEnd('.'))
|
||||
result = result.Replace(selfParameterName, SubTools.GetSubReplace(this.Context));
|
||||
if (!string.IsNullOrEmpty(selfParameterName) && this.Context.IsSingle&& this.Context.JoinIndex == 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user