Browse Source

Update kdbndp

pull/8/head
sunkaixuna 3 years ago
parent
commit
1ffaf02a6a
  1. 2
      Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Realization/Kdbndp/SqlBuilder/KdbndpQueryBuilder.cs

2
Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Realization/Kdbndp/SqlBuilder/KdbndpQueryBuilder.cs

@ -31,7 +31,7 @@ namespace SqlSugar
#region Common Methods #region Common Methods
public override bool IsComplexModel(string sql) public override bool IsComplexModel(string sql)
{ {
return Regex.IsMatch(sql, @"AS ""\w+\.\w+"""); return Regex.IsMatch(sql, @"AS ""\w+\.\w+""")|| Regex.IsMatch(sql, @"AS ""\w+\.\w+\.\w+""");
} }
public override string ToSqlString() public override string ToSqlString()
{ {

Loading…
Cancel
Save