mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 18:34:55 +08:00
Update gbase8s
This commit is contained in:
@@ -799,6 +799,10 @@ namespace SqlSugar
|
|||||||
foreach (var paramter in this.SubToListParameters)
|
foreach (var paramter in this.SubToListParameters)
|
||||||
{
|
{
|
||||||
var regex = $@"\{Builder.SqlTranslationLeft}[\w]{{1,20}}?\{Builder.SqlTranslationRight}\.\{Builder.SqlTranslationLeft}.{{1,50}}?\{Builder.SqlTranslationRight}";
|
var regex = $@"\{Builder.SqlTranslationLeft}[\w]{{1,20}}?\{Builder.SqlTranslationRight}\.\{Builder.SqlTranslationLeft}.{{1,50}}?\{Builder.SqlTranslationRight}";
|
||||||
|
if (Builder.SqlTranslationLeft == string.Empty)
|
||||||
|
{
|
||||||
|
regex = $@"[\w]{{1,20}}?\..{{1,50}}? ";
|
||||||
|
}
|
||||||
var matches = Regex
|
var matches = Regex
|
||||||
.Matches(paramter.Value.ObjToString(), regex, RegexOptions.IgnoreCase).Cast<Match>()
|
.Matches(paramter.Value.ObjToString(), regex, RegexOptions.IgnoreCase).Cast<Match>()
|
||||||
.Where(it => allShortName.Any(z => it.Value.ObjToString().ToLower().Contains(z)))
|
.Where(it => allShortName.Any(z => it.Value.ObjToString().ToLower().Contains(z)))
|
||||||
|
|||||||
Reference in New Issue
Block a user