Browse Source

Update SplitTypeExtensions

SqlSugar5
sunkaixuan 2 years ago
parent
commit
e3a719c349
  1. 2
      Src/Asp.NetCore2/SqlSugar/SpliteTable/SplitTypeExtensions.cs

2
Src/Asp.NetCore2/SqlSugar/SpliteTable/SplitTypeExtensions.cs

@ -17,7 +17,7 @@ namespace SqlSugar
List<SplitTableInfo> result = new List<SplitTableInfo>();
foreach (var item in tables)
{
if (tableNames.Any(it => item.TableName.Contains(it)))
if (tableNames.Any(it => item.TableName.ObjToString().ToLower().Contains(it.ObjToString().ToLower())))
{
result.Add(item);
}

Loading…
Cancel
Save