This commit is contained in:
skx
2020-10-01 16:53:11 +08:00
parent 297cd3e179
commit bed8ba7a55

View File

@@ -12,7 +12,7 @@ namespace SqlSugar
var table= this.Context.EntityMaintenance.GetTableName(entityInfo.EntityName);
var tableArray = table.Split('.');
var noFormat = table.Split(']').Length==1;
if (tableArray.Length > 2 && noFormat)
if (tableArray.Length > 1 && noFormat)
{
return tableArray.Last();
}