Synchronization code

This commit is contained in:
sunkaixuan
2024-01-08 16:55:15 +08:00
parent 8b39fc64c5
commit 3c6da4bff8
2 changed files with 4 additions and 2 deletions

View File

@@ -683,7 +683,9 @@ namespace SqlSugar
}
if (joinInfo.JoinType == JoinType.Cross)
{
result = result.Replace(" ON ", " WHERE ");
var onIndex=result.IndexOf(" ON ");
result = result.Substring(0,onIndex);
}
return result;
}