mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 20:57:58 +08:00
Update Multi db AOP
This commit is contained in:
parent
22aba34747
commit
b6289584c5
@ -1402,11 +1402,15 @@ namespace SqlSugar
|
||||
JoinWhere = expResult.GetResultString(),
|
||||
ShortName = lastPareamter.Name,
|
||||
EntityType= lastPareamter.Type,
|
||||
TableName = this.Context.EntityMaintenance.GetTableName(lastPareamter.Type)
|
||||
TableName = null
|
||||
};
|
||||
if (QueryBuilder.IsCrossQueryWithAttr)
|
||||
if (QueryBuilder.IsCrossQueryWithAttr)
|
||||
{
|
||||
result.TableName=GetTableName(this.Context.EntityMaintenance.GetEntityInfo(lastPareamter.Type), result.TableName);
|
||||
result.TableName = GetTableName(this.Context.EntityMaintenance.GetEntityInfoWithAttr(lastPareamter.Type), result.TableName);
|
||||
}
|
||||
else
|
||||
{
|
||||
result.TableName= this.Context.EntityMaintenance.GetTableName(lastPareamter.Type);
|
||||
}
|
||||
if (this.Context.CurrentConnectionConfig?.MoreSettings?.PgSqlIsAutoToLower == false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user