mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Synchronization code
This commit is contained in:
@@ -1538,7 +1538,7 @@ namespace SqlSugar
|
||||
else
|
||||
{
|
||||
var tableName = this.QueryBuilder.AsTables.First().Value;
|
||||
if (tableName != null && Regex.IsMatch(tableName, @"^\w+$"))
|
||||
if (tableName != null && Regex.IsMatch(tableName.Replace(".", "").Replace("-",""), @"^\w+$"))
|
||||
{
|
||||
tableName = SqlBuilder.GetTranslationTableName(tableName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user