mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 18:48:09 +08:00
Update Multi db AOP
This commit is contained in:
@@ -1402,11 +1402,15 @@ namespace SqlSugar
|
|||||||
JoinWhere = expResult.GetResultString(),
|
JoinWhere = expResult.GetResultString(),
|
||||||
ShortName = lastPareamter.Name,
|
ShortName = lastPareamter.Name,
|
||||||
EntityType= lastPareamter.Type,
|
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)
|
if (this.Context.CurrentConnectionConfig?.MoreSettings?.PgSqlIsAutoToLower == false)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user