mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Synchronization code
This commit is contained in:
parent
912b309601
commit
a1e4c48506
@ -1538,7 +1538,7 @@ namespace SqlSugar
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var tableName = this.QueryBuilder.AsTables.First().Value;
|
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);
|
tableName = SqlBuilder.GetTranslationTableName(tableName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user