mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 03:17:41 +08:00
Update split table
This commit is contained in:
@@ -1500,7 +1500,7 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.EntityInfo?.Type?.GetCustomAttribute<SplitTableAttribute>() != null&& this.QueryBuilder?.SelectValue?.ToString()=="*")
|
||||
if (this.QueryBuilder.IsSingle()&&this.EntityInfo?.Type?.GetCustomAttribute<SplitTableAttribute>() != null&& this.QueryBuilder?.SelectValue?.ToString()=="*")
|
||||
{
|
||||
var columnAarray = this.Context.EntityMaintenance.GetEntityInfo<T>().Columns;
|
||||
var sql = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user