mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-25 01:14:33 +08:00
Synchronization code
This commit is contained in:
parent
ee488a4f95
commit
48bb29893c
@ -89,7 +89,7 @@ namespace SqlSugar
|
|||||||
var selfParameterName = Context.GetTranslationColumnName((argExp as LambdaExpression).Parameters.First().Name) + UtilConstants.Dot;
|
var selfParameterName = Context.GetTranslationColumnName((argExp as LambdaExpression).Parameters.First().Name) + UtilConstants.Dot;
|
||||||
if (this.Context.JoinIndex == 0&&result.Contains(" FROM "))
|
if (this.Context.JoinIndex == 0&&result.Contains(" FROM "))
|
||||||
{
|
{
|
||||||
this.Context.CurrentShortName= selfParameterName;
|
this.Context.CurrentShortName= selfParameterName.ObjToString().TrimEnd('.');
|
||||||
}
|
}
|
||||||
else if (this.Context.JoinIndex == 0)
|
else if (this.Context.JoinIndex == 0)
|
||||||
result = result.Replace(selfParameterName, SubTools.GetSubReplace(this.Context));
|
result = result.Replace(selfParameterName, SubTools.GetSubReplace(this.Context));
|
||||||
|
Loading…
Reference in New Issue
Block a user