mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 02:35:04 +08:00
Update cross join
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user